diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:03:52 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:03:52 +0200 |
commit | c54f73c385dcdb7458759b36b62fa0e6895a30d7 (patch) | |
tree | 16d97e01adac92f5535267ee187702bd93def874 /pkgs/telethon_sync | |
parent | db2a79f0f6921e3edfbf49937629a50490543b5e (diff) | |
download | Nix-c54f73c385dcdb7458759b36b62fa0e6895a30d7.tar.gz Nix-c54f73c385dcdb7458759b36b62fa0e6895a30d7.tar.zst Nix-c54f73c385dcdb7458759b36b62fa0e6895a30d7.zip |
Use fetchgit rather than builtins
Diffstat (limited to 'pkgs/telethon_sync')
-rw-r--r-- | pkgs/telethon_sync/default.nix | 7 |
1 files 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 @@ | |||
1 | { lib, python3Packages }: | 1 | { lib, python3Packages, fetchgit }: |
2 | with python3Packages; | 2 | with python3Packages; |
3 | buildPythonPackage rec { | 3 | buildPythonPackage rec { |
4 | pname = "Telethon-sync"; | 4 | pname = "Telethon-sync"; |
5 | version = "1.1.1"; | 5 | version = "1.1.1"; |
6 | 6 | ||
7 | src = builtins.fetchGit { | 7 | src = fetchgit { |
8 | url = "https://github.com/LonamiWebs/Telethon"; | 8 | url = "https://github.com/LonamiWebs/Telethon"; |
9 | ref = "sync-stale"; | 9 | branchName = "sync-stale"; |
10 | rev = "6a785a01aa56cfd21c8c5beb9d722c68d664ba5e"; | 10 | rev = "6a785a01aa56cfd21c8c5beb9d722c68d664ba5e"; |
11 | sha256 = "0g7gnln5kbh1gy6sfb3jg6knmi33n6sgzy2rni2x6af84lza0lgc"; | ||
11 | }; | 12 | }; |
12 | 13 | ||
13 | propagatedBuildInputs = [ | 14 | propagatedBuildInputs = [ |