blob: 8611ef4e06415599eaa4f21e2fd803f397073b0e (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dockerfile-parse";
version = "2.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-MYTM3FEyIZg+UDrADhqlBKKqj4Tl3mc8RrC27umex7w=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dockerfile_parse" ];
disabledTests = [
# python-dockerfile-parse.spec is not present
"test_all_versions_match"
];
meta = {
description = "Library for parsing Dockerfile files";
homepage = "https://github.com/DBuildService/dockerfile-parse";
changelog = "https://github.com/containerbuildsystem/dockerfile-parse/releases/tag/${version}";
license = lib.licenses.bsd3;
};
}
|