i3cat: extracted from goPackages

This commit is contained in:
Kamil Chmielewski 2016-06-04 19:03:13 +02:00
parent 7c8852e355
commit 8bfff0f5a6
5 changed files with 38 additions and 10 deletions

View file

@ -898,5 +898,14 @@
"rev": "9ae4729fba20b3533d829a9c6ba8195b068f2abc",
"sha256": "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1"
}
},
{
"goPackagePath": "github.com/vincent-petithory/structfield",
"fetch": {
"type": "git",
"url": "https://github.com/vincent-petithory/structfield",
"rev": "01a738558a47fbf16712994d1737fb31c77e7d11",
"sha256": "1kyx71z13mf6hc8ly0j0b9zblgvj5lzzvgnc3fqh61wgxrsw24dw"
}
}
]

View file

@ -0,0 +1,20 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
buildGoPackage rec {
name = "i3cat-${version}";
version = "20150321-${stdenv.lib.strings.substring 0 7 rev}";
rev = "b9ba886a7c769994ccd8d4627978ef4b51fcf576";
goPackagePath = "github.com/vincent-petithory/i3cat";
src = fetchgit {
inherit rev;
url = "https://github.com/vincent-petithory/i3cat";
sha256 = "1xlm5c9ajdb71985nq7hcsaraq2z06przbl6r4ykvzi8w2lwgv72";
};
goDeps = ./deps.json;
}

View file

@ -0,0 +1,8 @@
[
{
"include": "../../libs.json",
"packages": [
"github.com/vincent-petithory/structfield"
]
}
]

View file

@ -13026,7 +13026,7 @@ in
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
i3cat = goPackages.i3cat.bin // { outputs = [ "bin" ]; };
i3cat = callPackage ../tools/misc/i3cat { };
i3lock = callPackage ../applications/window-managers/i3/lock.nix {
cairo = cairo.override { xcbSupport = true; };

View file

@ -2026,15 +2026,6 @@ let
];
};
i3cat = buildFromGitHub {
rev = "b9ba886a7c769994ccd8d4627978ef4b51fcf576";
version = "2015-03-21";
owner = "vincent-petithory";
repo = "i3cat";
sha256 = "1xlm5c9ajdb71985nq7hcsaraq2z06przbl6r4ykvzi8w2lwgv72";
buildInputs = [ structfield ];
};
inf = buildFromGitHub {
rev = "c85f1217d51339c0fa3a498cc8b2075de695dae6";
owner = "go-inf";