From: Ismaƫl Bouya Date: Fri, 24 Apr 2020 22:03:52 +0000 (+0200) Subject: Use fetchgit rather than builtins X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c54f73c385dcdb7458759b36b62fa0e6895a30d7;p=perso%2FImmae%2FConfig%2FNix.git Use fetchgit rather than builtins --- diff --git a/pkgs/telethon_sync/default.nix b/pkgs/telethon_sync/default.nix index 5cbff95..a03e1c3 100644 --- a/pkgs/telethon_sync/default.nix +++ b/pkgs/telethon_sync/default.nix @@ -1,13 +1,14 @@ -{ lib, python3Packages }: +{ lib, python3Packages, fetchgit }: with python3Packages; buildPythonPackage rec { pname = "Telethon-sync"; version = "1.1.1"; - src = builtins.fetchGit { + src = fetchgit { url = "https://github.com/LonamiWebs/Telethon"; - ref = "sync-stale"; + branchName = "sync-stale"; rev = "6a785a01aa56cfd21c8c5beb9d722c68d664ba5e"; + sha256 = "0g7gnln5kbh1gy6sfb3jg6knmi33n6sgzy2rni2x6af84lza0lgc"; }; propagatedBuildInputs = [