Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / dockerfile-parse / default.nix
blobae829a65e71dcc4aa54f47163b3ad7068e5e2598
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "dockerfile-parse";
11   version = "2.0.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-MYTM3FEyIZg+UDrADhqlBKKqj4Tl3mc8RrC27umex7w=";
19   };
21   nativeCheckInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "dockerfile_parse" ];
25   disabledTests = [
26     # python-dockerfile-parse.spec is not present
27     "test_all_versions_match"
28   ];
30   meta = with lib; {
31     description = "Library for parsing Dockerfile files";
32     homepage = "https://github.com/DBuildService/dockerfile-parse";
33     changelog = "https://github.com/containerbuildsystem/dockerfile-parse/releases/tag/${version}";
34     license = licenses.bsd3;
35     maintainers = with maintainers; [ leenaars ];
36   };