2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
2019-02-25 15:01:32 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-19 21:47:06 -08:00
|
|
|
version = "1.1.0";
|
2019-02-25 15:01:32 -08:00
|
|
|
pname = "dockerfile-parse";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 21:47:06 -08:00
|
|
|
sha256 = "f37bfa327fada7fad6833aebfaac4a3aaf705e4cf813b737175feded306109e8";
|
2019-02-25 15:01:32 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
echo " " > tests/requirements.txt \
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestcov pytest ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-02-25 15:01:32 -08:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|