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