blob: 13cb2131a4d7c2a0fb714c2edc6c83a6ff3b4ba3 (
plain)
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
34
35
36
37
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, pytest-flake8
, more-itertools
}:
buildPythonPackage rec {
pname = "zipp";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ more-itertools ];
checkInputs = [ pytest pytest-flake8 ];
checkPhase = ''
pytest
'';
# Prevent infinite recursion with pytest
doCheck = false;
meta = with lib; {
description = "Pathlib-compatible object wrapper for zip files";
homepage = "https://github.com/jaraco/zipp";
license = licenses.mit;
};
}
|