blob: 2da64ec5f653ac0c5a38644a0050995a1643c715 (
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
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchPypi,
pretend,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "verspec";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-xFBMppeyBWzbS/pxIUYfWg6BgJJVtBwD3aS6gjY3wB4=";
};
nativeCheckInputs = [
pretend
pytestCheckHook
];
disabledTestPaths = [
# Import fail
"test/test_specifiers.py"
];
pythonImportsCheck = [ "verspec" ];
meta = with lib; {
description = "Flexible version handling";
homepage = "https://github.com/jimporter/verspec";
changelog = "https://github.com/jimporter/averspec/releases/tag/v${version}";
license = with licenses; [
bsd2 # and
asl20
];
maintainers = [ ];
};
}
|