zfsbackup: use fetchFromGitHub instead of fetchgit
This commit is contained in:
parent
433bcdd3c3
commit
4d76fcf506
|
@ -1,5 +1,5 @@
|
||||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||||
{ lib, buildGoPackage, fetchgit }:
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "zfsbackup";
|
pname = "zfsbackup";
|
||||||
|
@ -8,9 +8,10 @@ buildGoPackage rec {
|
||||||
|
|
||||||
goPackagePath = "github.com/someone1/zfsbackup-go";
|
goPackagePath = "github.com/someone1/zfsbackup-go";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
|
owner = "someone1";
|
||||||
|
repo = "zfsbackup-go";
|
||||||
inherit rev;
|
inherit rev;
|
||||||
url = "https://github.com/someone1/zfsbackup-go";
|
|
||||||
sha256 = "0yalsfvzmcnc8yfzm3r5dikqrp57spwa16l7gbzvgqqcz4vlnw3n";
|
sha256 = "0yalsfvzmcnc8yfzm3r5dikqrp57spwa16l7gbzvgqqcz4vlnw3n";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue