blob: fc0bdf906275c37de49b0b2c843c49bd343ae437 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, fetchurl
, buildPythonPackage
, pytest
, isPy3k
}:
let
pname = "multidict";
version = "3.1.3";
in buildPythonPackage rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "875f80a046e7799b40df4b015b8fc5dae91697936872a8d7362c909a02ec6d12";
};
buildInputs = [ pytest ];
checkPhase = ''
py.test
'';
disabled = !isPy3k;
meta = {
description = "Multidict implementation";
homepage = https://github.com/aio-libs/multidict/;
license = lib.licenses.asl20;
};
}
|