mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
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
|
||||
{ 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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user