about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dockerfile-parse
diff options
context:
space:
mode:
authorMichiel Leenaars <ml.software@leenaa.rs>2019-02-26 00:01:32 +0100
committerMichiel Leenaars <ml.software@leenaa.rs>2019-03-13 23:41:19 +0100
commitc12d764a950d7af3c2baeef48210148e3791b0cd (patch)
treef22de61b991f63e3c149e85236f5278e33d825ae /pkgs/development/python-modules/dockerfile-parse
parent31f0972e2715f3bab3779a70d964463505e4574f (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.nix26
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 ];
+  };
+}