btops: switch to fetchFromGitHub

main
Felix Buehler 2 years ago
parent 84fe8734f6
commit b5d1310056
  1. 10
      pkgs/applications/window-managers/btops/default.nix

@ -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…
Cancel
Save