a944afd061
GitOrigin-RevId: 2247d824fe07f16325596acc7faa286502faffd1
26 lines
665 B
Nix
26 lines
665 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.1.0";
|
|
pname = "dockerfile-parse";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f37bfa327fada7fad6833aebfaac4a3aaf705e4cf813b737175feded306109e8";
|
|
};
|
|
|
|
postPatch = ''
|
|
echo " " > tests/requirements.txt \
|
|
'';
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ pytestcov pytest ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python library for parsing Dockerfile files";
|
|
homepage = "https://github.com/DBuildService/dockerfile-parse";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ leenaars ];
|
|
};
|
|
}
|