1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/development/python-modules/multidict/default.nix
2017-10-27 21:34:42 +02:00

33 lines
615 B
Nix

{ lib
, fetchurl
, buildPythonPackage
, pytest
, isPy3k
, psutil
}:
let
pname = "multidict";
version = "3.3.0";
in buildPythonPackage rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "e76909da2fad6966281d4e0e4ccfd3c3025699ebcc30806afa09fa1384c3532b";
};
checkInputs = [ pytest psutil ];
checkPhase = ''
py.test
'';
disabled = !isPy3k;
meta = {
description = "Multidict implementation";
homepage = https://github.com/aio-libs/multidict/;
license = lib.licenses.asl20;
};
}