mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
pythonPackages.multidict: init at 2.1.4
This commit is contained in:
parent
7a538938a0
commit
826649ddf4
32
pkgs/development/python-modules/multidict/default.nix
Normal file
32
pkgs/development/python-modules/multidict/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, pytest
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "multidict";
|
||||
version = "2.1.4";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
sha256 = "a77aa8c9f68846c3b5db43ff8ed2a7a884dbe845d01f55113a3fba78518c4cd7";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "Multidict implementation";
|
||||
homepage = https://github.com/aio-libs/multidict/;
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
@ -14377,6 +14377,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
multidict = callPackage ../development/python-modules/multidict { };
|
||||
|
||||
munch = buildPythonPackage rec {
|
||||
name = "munch-${version}";
|
||||
version = "2.0.4";
|
||||
|
Loading…
Reference in New Issue
Block a user