pythonPackages.hpack: refactor move to python-modules
This commit is contained in:
parent
0660849bdc
commit
8d7f629fb4
21
pkgs/development/python-modules/hpack/default.nix
Normal file
21
pkgs/development/python-modules/hpack/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hpack";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ad0fx4d7a52zf441qzhjc7vwy9v3qdrk1zyf06ikz8y2nl9mgai";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pure-Python HPACK header compression";
|
||||
homepage = "http://hyper.rtfd.org";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2957,20 +2957,7 @@ in {
|
||||
|
||||
netifaces = callPackage ../development/python-modules/netifaces { };
|
||||
|
||||
hpack = buildPythonPackage rec {
|
||||
name = "hpack-${version}";
|
||||
version = "2.3.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/h/hpack/hpack-${version}.tar.gz";
|
||||
sha256 = "1ad0fx4d7a52zf441qzhjc7vwy9v3qdrk1zyf06ikz8y2nl9mgai";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "========================================";
|
||||
homepage = "http://hyper.rtfd.org";
|
||||
};
|
||||
};
|
||||
hpack = callPackage ../development/python-modules/hpack { };
|
||||
|
||||
nevow = callPackage ../development/python-modules/nevow { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user