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