diff options
author | Konrad Borowski <konrad@borowski.pw> | 2019-10-26 14:58:10 +0200 |
---|---|---|
committer | Konrad Borowski <konrad@borowski.pw> | 2019-10-26 15:01:52 +0200 |
commit | 4d76fcf50649b4ea8d9259fefaf30ecace5a034f (patch) | |
tree | 174b5f8febf12afa3355e1fddd1ca009776ae857 /pkgs/tools/backup/zfsbackup | |
parent | 433bcdd3c3ff209aeeb4fddeda174f95c51697de (diff) |
zfsbackup: use fetchFromGitHub instead of fetchgit
Diffstat (limited to 'pkgs/tools/backup/zfsbackup')
-rw-r--r-- | pkgs/tools/backup/zfsbackup/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/backup/zfsbackup/default.nix b/pkgs/tools/backup/zfsbackup/default.nix index cf69ad5633587..ced82f97a0830 100644 --- a/pkgs/tools/backup/zfsbackup/default.nix +++ b/pkgs/tools/backup/zfsbackup/default.nix @@ -1,5 +1,5 @@ # This file was generated by https://github.com/kamilchm/go2nix v1.3.0 -{ lib, buildGoPackage, fetchgit }: +{ lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "zfsbackup"; @@ -8,9 +8,10 @@ buildGoPackage rec { goPackagePath = "github.com/someone1/zfsbackup-go"; - src = fetchgit { + src = fetchFromGitHub { + owner = "someone1"; + repo = "zfsbackup-go"; inherit rev; - url = "https://github.com/someone1/zfsbackup-go"; sha256 = "0yalsfvzmcnc8yfzm3r5dikqrp57spwa16l7gbzvgqqcz4vlnw3n"; }; |