nixpkgs-suyu/pkgs/development/python-modules/multidict/default.nix

31 lines
545 B
Nix
Raw Normal View History

{ lib
2018-01-22 16:08:37 +01:00
, fetchPypi
, buildPythonPackage
, cython
, pytest, psutil, pytestrunner
, isPy3k
}:
let
2018-01-22 16:08:37 +01:00
in buildPythonPackage rec {
pname = "multidict";
version = "4.0.0";
2018-01-22 16:08:37 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0y0pg3r9hlknny0zwg906wz81h8in6lgvnpbmzvl911bmnrqc95p";
};
buildInputs = [ cython ];
checkInputs = [ pytest psutil pytestrunner ];
disabled = !isPy3k;
meta = {
description = "Multidict implementation";
homepage = https://github.com/aio-libs/multidict/;
license = lib.licenses.asl20;
};
}