about summary refs log tree commit diff
path: root/pkgs/development/python-modules/htmlmin
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-11-05 10:45:54 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-05 10:45:54 +0100
commit07eeeb36008b63c8edfc75fce79beb028cd5c1e4 (patch)
tree815bfac4b5ee67fc223ea785e965c2680bac4db0 /pkgs/development/python-modules/htmlmin
parent37d5539aeb10973aba9c84f5214625c85e9c39b4 (diff)
downloadnixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar
nixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.gz
nixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.bz2
nixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.lz
nixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.xz
nixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.zst
nixlib-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.zip
Python: move expressions in python-modules to their own folders
Diffstat (limited to 'pkgs/development/python-modules/htmlmin')
-rw-r--r--pkgs/development/python-modules/htmlmin/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/htmlmin/default.nix b/pkgs/development/python-modules/htmlmin/default.nix
new file mode 100644
index 000000000000..2206b3559bae
--- /dev/null
+++ b/pkgs/development/python-modules/htmlmin/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonPackage, fetchPypi }:
+buildPythonPackage rec {
+  pname = "htmlmin";
+  version = "0.1.11";
+  name = "${pname}-${version}";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "f27fb96fdddeb1725ee077be532c7bea23288c69d0e996e7798f24fae7a14e5e";
+  };
+
+  # Tests run fine in a normal source checkout, but not when being built by nix.
+  doCheck = false;
+
+  meta = {
+    description = "A configurable HTML Minifier with safety features";
+    homepage = https://pypi.python.org/pypi/htmlmin;
+    license = stdenv.lib.licenses.bsd3;
+    maintainers = [stdenv.lib.maintainers.ahmedtd];
+  };
+}