nixpkgs-suyu/pkgs/tools/misc/i3cat/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

17 lines
445 B
Nix

{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
pname = "i3cat";
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.nix;
}