1{ lib, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
2
3buildPythonPackage rec {
4 version = "1.1.0";
5 pname = "dockerfile-parse";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "f37bfa327fada7fad6833aebfaac4a3aaf705e4cf813b737175feded306109e8";
10 };
11
12 postPatch = ''
13 echo " " > tests/requirements.txt \
14 '';
15
16 propagatedBuildInputs = [ six ];
17
18 checkInputs = [ pytestcov 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}