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