From 9951b235a76800a572ea30793126b7dd8cdf3f0d 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 5cbff95c..a03e1c39 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