2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
2019-02-25 23:01:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-20 05:47:06 +00:00
|
|
|
version = "1.1.0";
|
2019-02-25 23:01:32 +00:00
|
|
|
pname = "dockerfile-parse";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-20 05:47:06 +00:00
|
|
|
sha256 = "f37bfa327fada7fad6833aebfaac4a3aaf705e4cf813b737175feded306109e8";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|