mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
22 lines
484 B
Nix
22 lines
484 B
Nix
{ lib, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "pup";
|
|
version = "0.4.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/ericchiang/pup";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://${goPackagePath}";
|
|
sha256 = "0mnhw0yph5fvcnrcmj1kfbyw1a4lcg3k9f6y28kf44ihlq8h1dfz";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Streaming HTML processor/selector";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ yegortimoshenko ];
|
|
};
|
|
}
|