pythonPackages.dockerfile-parse: init at 0.0.13

This commit is contained in:
Michiel Leenaars 2019-02-26 00:01:32 +01:00
parent 31f0972e27
commit c12d764a95
2 changed files with 28 additions and 0 deletions

@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
buildPythonPackage rec {
version = "0.0.13";
pname = "dockerfile-parse";
src = fetchPypi {
inherit pname version;
sha256 = "1p0x81q3m3nlj4rqal9a959xcbjhncb548wd4wr3l7dpiajqqc9c";
};
postPatch = ''
echo " " > tests/requirements.txt \
'';
propagatedBuildInputs = [ six ];
checkInputs = [ pytestcov pytest ];
meta = with stdenv.lib; {
description = "Python library for parsing Dockerfile files";
homepage = https://github.com/DBuildService/dockerfile-parse;
license = licenses.bsd3;
maintainers = with maintainers; [ leenaars ];
};
}

@ -1699,6 +1699,8 @@ in {
docker = callPackage ../development/python-modules/docker {};
dockerfile-parse = callPackage ../development/python-modules/dockerfile-parse {};
docker-py = disabledIf isPy27 (callPackage ../development/python-modules/docker-py {});
dockerpty = callPackage ../development/python-modules/dockerpty {};