2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
2019-02-25 23:01:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-06-18 22:47:14 +01:00
|
|
|
version = "1.2.0";
|
2019-02-25 23:01:32 +00:00
|
|
|
pname = "dockerfile-parse";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:14 +01:00
|
|
|
sha256 = "07e65eec313978e877da819855870b3ae47f3fac94a40a965b9ede10484dacc5";
|
2019-02-25 23:01:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
echo " " > tests/requirements.txt \
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestcov pytest ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-02-25 23:01:32 +00:00
|
|
|
description = "Python library for parsing Dockerfile files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/DBuildService/dockerfile-parse";
|
2019-02-25 23:01:32 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
};
|
|
|
|
}
|