Merge pull request #31242 from rnhmjoj/python
hyp: move expression out python-packages.nix
This commit is contained in:
commit
4fc2fd6d26
19
pkgs/servers/http/hyp/default.nix
Normal file
19
pkgs/servers/http/hyp/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -11493,6 +11493,8 @@ with pkgs;
|
||||
|
||||
exhibitor = callPackage ../servers/exhibitor { };
|
||||
|
||||
hyp = callPackage ../servers/http/hyp/default.nix { };
|
||||
|
||||
prosody = callPackage ../servers/xmpp/prosody {
|
||||
lua5 = lua5_1;
|
||||
inherit (lua51Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luazlib;
|
||||
|
@ -7478,25 +7478,6 @@ in {
|
||||
|
||||
subliminal = callPackage ../development/python-modules/subliminal {};
|
||||
|
||||
hyp = buildPythonPackage rec {
|
||||
name = "hyp-server-${version}";
|
||||
version = "1.2.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/h/hyp-server/${name}.tar.gz";
|
||||
sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Hyperminimal https server";
|
||||
homepage = https://github.com/rnhmjoj/hyp;
|
||||
license = with licenses; [gpl3Plus mit];
|
||||
maintainers = with maintainers; [ rnhmjoj ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
|
||||
hyperlink = callPackage ../development/python-modules/hyperlink {};
|
||||
|
||||
zope_copy = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user