blob: 6ad69b80b6d1d83f330065ed31b830459b5fbc86 (
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
33
|
{ stdenv
, buildPythonPackage
, fetchPypi
, setuptools_scm
# , backports
, python
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "backports.weakref";
version = "1.0.post1";
src = fetchPypi {
inherit pname version;
sha256 = "bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2";
};
buildInputs = [ setuptools_scm ];
# checkInputs = [ backports ];
# Requires backports package
doCheck = false;
checkPhase = ''
${python.interpreter} -m unittest discover tests
'';
meta = with stdenv.lib; {
description = "Backports of new features in Python’s weakref module";
license = licenses.psfl;
maintainers = with maintainers; [ jyp ];
};
}
|