nixpkgs-suyu/pkgs/servers/hitch/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

23 lines
684 B
Nix

{ stdenv, fetchurl, docutils, libev, openssl, pkgconfig }:
stdenv.mkDerivation rec {
version = "1.5.0";
pname = "hitch";
src = fetchurl {
url = "https://hitch-tls.org/source/${pname}-${version}.tar.gz";
sha256 = "02sd2p3jsbnqmldsjwzk5qcjc45k9n1x4ygjkx0kxxwjj9lm9hhf";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ docutils libev openssl ];
outputs = [ "out" "doc" "man" ];
meta = with stdenv.lib; {
description = "Hitch is a libev-based high performance SSL/TLS proxy by Varnish Software";
homepage = https://hitch-tls.org/;
license = licenses.bsd2;
maintainers = [ maintainers.jflanglois ];
platforms = platforms.linux;
};
}