diff options
author | Michiel Leenaars <ml.software@leenaa.rs> | 2019-02-26 00:01:32 +0100 |
---|---|---|
committer | Michiel Leenaars <ml.software@leenaa.rs> | 2019-03-13 23:41:19 +0100 |
commit | c12d764a950d7af3c2baeef48210148e3791b0cd (patch) | |
tree | f22de61b991f63e3c149e85236f5278e33d825ae /pkgs/development/python-modules/dockerfile-parse | |
parent | 31f0972e2715f3bab3779a70d964463505e4574f (diff) |
pythonPackages.dockerfile-parse: init at 0.0.13
Diffstat (limited to 'pkgs/development/python-modules/dockerfile-parse')
-rw-r--r-- | pkgs/development/python-modules/dockerfile-parse/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dockerfile-parse/default.nix b/pkgs/development/python-modules/dockerfile-parse/default.nix new file mode 100644 index 0000000000000..c8ecbceb5e860 --- /dev/null +++ b/pkgs/development/python-modules/dockerfile-parse/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }: + +buildPythonPackage rec { + version = "0.0.13"; + pname = "dockerfile-parse"; + + src = fetchPypi { + inherit pname version; + sha256 = "1p0x81q3m3nlj4rqal9a959xcbjhncb548wd4wr3l7dpiajqqc9c"; + }; + + 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 ]; + }; +} |