1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/servers/polipo/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

26 lines
788 B
Nix

{ stdenv, fetchurl, texinfo }:
stdenv.mkDerivation rec {
pname = "polipo";
version = "1.1.1";
src = fetchurl {
url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/${pname}-${version}.tar.gz";
sha256 = "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2";
};
buildInputs = [ texinfo ];
makeFlags = [ "PREFIX=$(out)" "LOCAL_ROOT=$(out)/share/polipo/www" ];
meta = with stdenv.lib; {
homepage = http://www.pps.jussieu.fr/~jch/software/polipo/;
description = "A small and fast caching web proxy";
license = licenses.mit;
maintainers = with maintainers; [ phreedom ehmry ];
platforms = platforms.all;
knownVulnerabilities = [
"Unmaintained upstream: https://github.com/jech/polipo/commit/4d42ca1b5849"
];
};
}