2019-02-25 23:01:32 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-05-30 07:49:49 +01:00
|
|
|
version = "0.0.14";
|
2019-02-25 23:01:32 +00:00
|
|
|
pname = "dockerfile-parse";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 07:49:49 +01:00
|
|
|
sha256 = "0b829a9e25ac9af17a0affa41c0fca6541a03b8edb0178f60dc036e2ce59eeb5";
|
2019-02-25 23:01:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|