nixpkgs-suyu/pkgs/tools/networking/weighttp/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

18 lines
431 B
Nix

{ stdenv, fetchgit, python, libev, wafHook }:
stdenv.mkDerivation rec {
pname = "weighttp";
version = "0.4";
src = fetchgit {
url = https://git.lighttpd.net/weighttp.git;
rev = "refs/tags/weighttp-${version}";
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
};
nativeBuildInputs = [ wafHook ];
buildInputs = [ python libev ];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}