]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Use fetchgit rather than builtins master
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:03:52 +0000 (00:03 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:05:00 +0000 (00:05 +0200)
pkgs/telethon_sync/default.nix

index 5cbff95c2ff7f925f966513714fbaf435c70b836..a03e1c3946b8314cc807a2921db4b85f402488b8 100644 (file)
@@ -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 = [