mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
python.pkgs.h2: 2.5.1 -> 3.0.1
This commit is contained in:
parent
9d8cc4fab0
commit
fd261eefbd
21
pkgs/development/python-modules/h2/default.nix
Normal file
21
pkgs/development/python-modules/h2/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, enum34, hpack, hyperframe }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "h2";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0r3f43r0v7sqgdjjg5ngw0dndk2v6cyd0jncpwya54m37y42z5mj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ enum34 hpack hyperframe ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "HTTP/2 State-Machine based protocol implementation";
|
||||
homepage = "http://hyper.rtfd.org/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -11606,23 +11606,7 @@ in {
|
||||
|
||||
hyperframe = callPackage ../development/python-modules/hyperframe { };
|
||||
|
||||
h2 = buildPythonPackage rec {
|
||||
name = "h2-${version}";
|
||||
version = "2.5.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/h/h2/${name}.tar.gz";
|
||||
sha256 = "0xhzm5vcfhdq3mihynwh4ljwi0r06lvzk3ypr0gmmbcp1x43ffb7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ enum34 hpack hyperframe ];
|
||||
|
||||
meta = {
|
||||
description = "HTTP/2 State-Machine based protocol implementation";
|
||||
homepage = "http://hyper.rtfd.org/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
h2 = callPackage ../development/python-modules/h2 { };
|
||||
|
||||
editorconfig = buildPythonPackage rec {
|
||||
name = "EditorConfig-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user