1{ lib, buildPythonPackage, fetchPypi, six, pytest-cov, pytest }: 2 3buildPythonPackage rec { 4 version = "1.2.0"; 5 pname = "dockerfile-parse"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "07e65eec313978e877da819855870b3ae47f3fac94a40a965b9ede10484dacc5"; 10 }; 11 12 postPatch = '' 13 echo " " > tests/requirements.txt \ 14 ''; 15 16 propagatedBuildInputs = [ six ]; 17 18 checkInputs = [ pytest-cov pytest ]; 19 20 meta = with lib; { 21 description = "Python library for parsing Dockerfile files"; 22 homepage = "https://github.com/DBuildService/dockerfile-parse"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ leenaars ]; 25 }; 26}