1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/tools/pup/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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 ];
};
}