diff options
author | Taahir Ahmed <ahmed.taahir@gmail.com> | 2017-04-17 03:50:57 -0500 |
---|---|---|
committer | Joachim F <joachifm@users.noreply.github.com> | 2017-04-17 09:50:57 +0100 |
commit | 3efdf24584774b85237ce7c7c99009a291464af6 (patch) | |
tree | 98b1681f8d7ec31d6ff8804422c659e249124b8a /pkgs | |
parent | f029fc8cdc10dc8648761c3fa1aac128c55586f5 (diff) | |
download | nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.tar nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.tar.gz nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.tar.bz2 nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.tar.lz nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.tar.xz nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.tar.zst nixpkgs-3efdf24584774b85237ce7c7c99009a291464af6.zip |
htmlmin: init at 0.1.10 (#24945)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/htmlmin.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/htmlmin.nix b/pkgs/development/python-modules/htmlmin.nix new file mode 100644 index 00000000000..35f86479a4e --- /dev/null +++ b/pkgs/development/python-modules/htmlmin.nix @@ -0,0 +1,20 @@ +{ stdenv, buildPythonPackage, fetchPypi }: +buildPythonPackage rec { + pname = "htmlmin"; + version = "0.1.10"; + name = "${pname}-${version}"; + src = fetchPypi { + inherit pname version; + sha256 = "ca5c5dfbb0fa58562e5cbc8dc026047f6cb431d4333504b11853853be448aa63"; + }; + + # 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]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fc9e96cc5f6..a3e0b3feaa9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7749,6 +7749,9 @@ in { }; }); + + htmlmin = callPackage ../development/python-modules/htmlmin.nix {}; + httpauth = buildPythonPackage rec { version = "0.3"; name = "httpauth-${version}"; |