i3cat: switch to fetchFromGitHub
This commit is contained in:
parent
a92360c7a6
commit
6128e1515c
|
@ -1,17 +1,24 @@
|
||||||
{ lib, buildGoPackage, fetchgit }:
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "i3cat";
|
pname = "i3cat";
|
||||||
version = "20150321-${lib.strings.substring 0 7 rev}";
|
version = "1.0";
|
||||||
rev = "b9ba886a7c769994ccd8d4627978ef4b51fcf576";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/vincent-petithory/i3cat";
|
goPackagePath = "github.com/vincent-petithory/i3cat";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
owner = "vincent-petithory";
|
||||||
url = "https://github.com/vincent-petithory/i3cat";
|
repo = "i3cat";
|
||||||
sha256 = "1xlm5c9ajdb71985nq7hcsaraq2z06przbl6r4ykvzi8w2lwgv72";
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-BxiiYzSjvXAMUQSUTKviLvrmGjkCLW6QPrgBBHvvF+Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "combine multiple i3bar JSON inputs into one to forward to i3bar";
|
||||||
|
homepage = "https://vincent-petithory.github.io/i3cat/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue