pup: clean up, 20160425-e76307d -> 0.4.0
This commit is contained in:
parent
ec10cd528e
commit
102f8a8907
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
{ buildGoPackage, fetchgit }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "pup-${version}";
|
name = "pup-${version}";
|
||||||
version = "20160425-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "0.4.0";
|
||||||
rev = "e76307d03d4d2e0f01fb7ab51dee09f2671c3db6";
|
rev = "v${version}";
|
||||||
|
|
||||||
goPackagePath = "github.com/ericchiang/pup";
|
goPackagePath = "github.com/ericchiang/pup";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
url = "https://github.com/ericchiang/pup";
|
url = "https://${goPackagePath}";
|
||||||
sha256 = "15lwas4cjchlwhrwnd5l4gxcwqdfgazdyh466hava5qzxacqxrm5";
|
sha256 = "0mnhw0yph5fvcnrcmj1kfbyw1a4lcg3k9f6y28kf44ihlq8h1dfz";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user