21cecf6002
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
26 lines
657 B
Nix
26 lines
657 B
Nix
{ lib, buildPythonPackage, fetchPypi, six, pytest-cov, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.2.0";
|
|
pname = "dockerfile-parse";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "07e65eec313978e877da819855870b3ae47f3fac94a40a965b9ede10484dacc5";
|
|
};
|
|
|
|
postPatch = ''
|
|
echo " " > tests/requirements.txt \
|
|
'';
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ pytest-cov pytest ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for parsing Dockerfile files";
|
|
homepage = "https://github.com/DBuildService/dockerfile-parse";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ leenaars ];
|
|
};
|
|
}
|