2019-02-25 15:01:32 -08:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-08-16 10:30:58 -07:00
|
|
|
version = "1.0.0";
|
2019-02-25 15:01:32 -08:00
|
|
|
pname = "dockerfile-parse";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 10:30:58 -07:00
|
|
|
sha256 = "9ed92ede29a646094b52b8b302e477f08e63465b6ee524f5750810280143712e";
|
2019-02-25 15:01:32 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
echo " " > tests/requirements.txt \
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestcov pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python library for parsing Dockerfile files";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/DBuildService/dockerfile-parse";
|
2019-02-25 15:01:32 -08:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
};
|
|
|
|
}
|