btops: switch to fetchFromGitHub
This commit is contained in:
parent
84fe8734f6
commit
b5d1310056
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "btops";
|
||||
|
@ -7,10 +6,11 @@ buildGoPackage rec {
|
|||
|
||||
goPackagePath = "github.com/cmschuetz/btops";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/cmschuetz/btops.git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "cmschuetz";
|
||||
repo = "btops";
|
||||
rev = version;
|
||||
sha256 = "1ilidvpy7gz49zqp6rf0q7wjrc3r0brdrcp4r5f6i6p9cwybqkbq";
|
||||
sha256 = "sha256-eE28PGfpmmhcyeSy3PICebAs+cHAZXPxT+S/4+9ukcY=";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
|
Loading…
Reference in a new issue