nixpkgs/pkgs/applications/misc/wego/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

22 lines
484 B
Nix

{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
pname = "wego";
version = "20170403-${stdenv.lib.strings.substring 0 7 rev}";
rev = "415efdfab5d5ee68300bf261a0c6f630c6c2584c";
goPackagePath = "github.com/schachmat/wego";
src = fetchgit {
inherit rev;
url = "https://github.com/schachmat/wego";
sha256 = "0w8sypwg0s2mvhk9cdibqr8bz5ipiiacs60a39sdswrpc4z486hg";
};
goDeps = ./deps.nix;
meta = {
license = stdenv.lib.licenses.isc;
};
}