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=HEAD;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Use fetchgit rather than builtins --- 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 = [