mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
pup: 0.4.0 -> unstable-2019-09-19
This commit is contained in:
parent
ca45892b9f
commit
a1cfe2a07e
|
@ -1,21 +1,22 @@
|
|||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "pup";
|
||||
version = "0.4.0";
|
||||
rev = "v${version}";
|
||||
version = "unstable-2019-09-19";
|
||||
|
||||
goPackagePath = "github.com/ericchiang/pup";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://${goPackagePath}";
|
||||
sha256 = "0mnhw0yph5fvcnrcmj1kfbyw1a4lcg3k9f6y28kf44ihlq8h1dfz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ericchiang";
|
||||
repo = "pup";
|
||||
rev = "681d7bb639334bf485476f5872c5bdab10931f9a";
|
||||
sha256 = "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Streaming HTML processor/selector";
|
||||
description = "Parsing HTML at the command line";
|
||||
homepage = "https://github.com/ericchiang/pup";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yegortimoshenko ];
|
||||
maintainers = with maintainers; [ yegortimoshenko SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue