blob: b0bbd43deab788180fc53dd59bf56109f6dc7c5e (
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,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pep440";
version = "0.1.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-WLNyRswrE/7hyio8CSyzcE0h7PYhpb27Fo5E5pf20E0=";
};
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# Don't run CLI tests
"tests/test_cli.py"
];
pythonImportsCheck = [ "pep440" ];
meta = {
description = "Python module to check whether versions number match PEP 440";
mainProgram = "pep440";
homepage = "https://github.com/Carreau/pep440";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|