nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 44 lines 814 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "dockerfile-parse"; 11 version = "1.2.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-B+Ze7DE5eOh32oGYVYcLOuR/P6yUpAqWW57eEEhNrMU="; 19 }; 20 21 propagatedBuildInputs = [ 22 six 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ 30 "dockerfile_parse" 31 ]; 32 33 disabledTests = [ 34 # python-dockerfile-parse.spec is not present 35 "test_all_versions_match" 36 ]; 37 38 meta = with lib; { 39 description = "Library for parsing Dockerfile files"; 40 homepage = "https://github.com/DBuildService/dockerfile-parse"; 41 license = licenses.bsd3; 42 maintainers = with maintainers; [ leenaars ]; 43 }; 44}