zfsbackup: use fetchFromGitHub instead of fetchgit

This commit is contained in:
Konrad Borowski 2019-10-26 14:58:10 +02:00
parent 433bcdd3c3
commit 4d76fcf506

View File

@ -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";
};