mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
21 lines
612 B
Nix
21 lines
612 B
Nix
|
{ 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];
|
||
|
};
|
||
|
}
|