Files
nixpkgs/pkgs/development/python-modules/multidict/default.nix
T

31 lines
686 B
Nix
Raw Normal View History

2016-12-11 20:05:52 +01:00
{ lib
2018-01-22 16:08:37 +01:00
, fetchPypi
2016-12-11 20:05:52 +01:00
, buildPythonPackage
, pytest, pytestrunner, pytestcov
2016-12-11 20:05:52 +01:00
, isPy3k
, isPy38
2016-12-11 20:05:52 +01:00
}:
2018-01-28 14:08:30 +01:00
buildPythonPackage rec {
2016-12-11 20:05:52 +01:00
pname = "multidict";
2020-11-29 15:04:34 +01:00
version = "5.0.2";
2016-12-11 20:05:52 +01:00
2018-01-22 16:08:37 +01:00
src = fetchPypi {
inherit pname version;
2020-11-29 15:04:34 +01:00
sha256 = "e5bf89fe57f702a046c7ec718fe330ed50efd4bcf74722940db2eb0919cddb1c";
2016-12-11 20:05:52 +01:00
};
checkInputs = [ pytest pytestrunner pytestcov ];
2016-12-11 20:05:52 +01:00
disabled = !isPy3k;
# pickle files needed for 3.8 https://github.com/aio-libs/multidict/pull/363
doCheck = !isPy38;
2016-12-11 20:05:52 +01:00
2018-01-28 14:08:30 +01:00
meta = with lib; {
2016-12-11 20:05:52 +01:00
description = "Multidict implementation";
homepage = "https://github.com/aio-libs/multidict/";
2018-01-28 14:08:30 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
2016-12-11 20:05:52 +01:00
};
}