From c54f73c385dcdb7458759b36b62fa0e6895a30d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 25 Apr 2020 00:03:52 +0200 Subject: [PATCH] Use fetchgit rather than builtins --- pkgs/telethon_sync/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 = [ -- 2.41.0