git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #31242 from rnhmjoj/python

hyp: move expression out python-packages.nix

commit4fc2fd6d26cadd9695bd2c5fec809ef31992dc0c authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateMon 6 Nov 2017, 20:43 (9 years ago) parent13cc4f5632a180
3 files changed+21−19
pkgs/servers/http/hyp/default.nix+19 pkgs/top-level/all-packages.nix+2 pkgs/top-level/python-packages.nix−19
pkgs/servers/http/hyp/default.nixnew file+19
@@ -0,0 +1,19 @@
1+{ stdenv, fetchurl, python3Packages }:
2+
3+python3Packages.buildPythonPackage rec {
4+ name = "hyp-server-${version}";
5+ version = "1.2.0";
6+
7+ src = fetchurl {
8+ url = "mirror://pypi/h/hyp-server/${name}.tar.gz";
9+ sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15";
10+ };
11+
12+ meta = with stdenv.lib; {
13+ description = "Hyperminimal https server";
14+ homepage = https://github.com/rnhmjoj/hyp;
15+ license = with licenses; [gpl3Plus mit];
16+ maintainers = with maintainers; [ rnhmjoj ];
17+ platforms = platforms.unix;
18+ };
19+}
pkgs/top-level/all-packages.nix+2
@@ -11493,6 +11493,8 @@ with pkgs;
1149311493
1149411494 exhibitor = callPackage ../servers/exhibitor { };
1149511495
11496+ hyp = callPackage ../servers/http/hyp/default.nix { };
11497+
1149611498 prosody = callPackage ../servers/xmpp/prosody {
1149711499 lua5 = lua5_1;
1149811500 inherit (lua51Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luazlib;
pkgs/top-level/python-packages.nix−19
@@ -7478,25 +7478,6 @@ in {
74787478
74797479 subliminal = callPackage ../development/python-modules/subliminal {};
74807480
7481− hyp = buildPythonPackage rec {
7482− name = "hyp-server-${version}";
7483− version = "1.2.0";
7484− disabled = !isPy3k;
7485−
7486− src = pkgs.fetchurl {
7487− url = "mirror://pypi/h/hyp-server/${name}.tar.gz";
7488− sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15";
7489− };
7490−
7491− meta = {
7492− description = "Hyperminimal https server";
7493− homepage = https://github.com/rnhmjoj/hyp;
7494− license = with licenses; [gpl3Plus mit];
7495− maintainers = with maintainers; [ rnhmjoj ];
7496− platforms = platforms.unix;
7497− };
7498− };
7499−
75007481 hyperlink = callPackage ../development/python-modules/hyperlink {};
75017482
75027483 zope_copy = buildPythonPackage rec {