mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
21 lines
489 B
Nix
21 lines
489 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, enum34, hpack, hyperframe }:
|
|
|
|
buildPythonPackage rec {
|
|
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;
|
|
};
|
|
}
|