2017-12-20 00:00:22 +00:00
|
|
|
{ lib, buildGoPackage, fetchgit }:
|
2016-06-03 12:13:10 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "pup-${version}";
|
2017-12-19 23:48:53 +00:00
|
|
|
version = "0.4.0";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
2016-06-03 12:13:10 +00:00
|
|
|
goPackagePath = "github.com/ericchiang/pup";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
2017-12-19 23:48:53 +00:00
|
|
|
url = "https://${goPackagePath}";
|
|
|
|
sha256 = "0mnhw0yph5fvcnrcmj1kfbyw1a4lcg3k9f6y28kf44ihlq8h1dfz";
|
2016-06-03 12:13:10 +00:00
|
|
|
};
|
2017-12-20 00:00:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Streaming HTML processor/selector";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ yegortimoshenko ];
|
|
|
|
};
|
2016-06-03 12:13:10 +00:00
|
|
|
}
|