hyp: move expression out python-packages.nix

This commit is contained in:
rnhmjoj
2017-11-04 12:57:58 +01:00
parent 79aa720020
commit 632a1807db
3 changed files with 21 additions and 19 deletions
+19
View File
@@ -0,0 +1,19 @@
{ stdenv, fetchurl, python3Packages }:
python3Packages.buildPythonPackage rec {
name = "hyp-server-${version}";
version = "1.2.0";
src = fetchurl {
url = "mirror://pypi/h/hyp-server/${name}.tar.gz";
sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15";
};
meta = with stdenv.lib; {
description = "Hyperminimal https server";
homepage = https://github.com/rnhmjoj/hyp;
license = with licenses; [gpl3Plus mit];
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
};
}