diff options
author | Felix Buehler <account@buehler.rocks> | 2022-03-15 11:26:16 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-03-16 23:23:09 +0100 |
commit | b5d1310056382d31c30e8fbbb4fc0efc822f85fe (patch) | |
tree | 1c12fcb71a9205b4a7f0aa2d114269a13babb58b | |
parent | 84fe8734f63afb08d70a41f43f4d1100c81d6492 (diff) |
btops: switch to fetchFromGitHub
-rw-r--r-- | pkgs/applications/window-managers/btops/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/window-managers/btops/default.nix b/pkgs/applications/window-managers/btops/default.nix index 5f107337ee44..a837c435204a 100644 --- a/pkgs/applications/window-managers/btops/default.nix +++ b/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; |