File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed
pkgs/development/python-modules/htmlmin Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchPypi ,
5- pythonAtLeast ,
5+ setuptools ,
6+ standard-cgi ,
67} :
78
89buildPythonPackage rec {
910 pname = "htmlmin" ;
1011 version = "0.1.12" ;
11- format = "setuptools" ;
12+ pyproject = true ;
1213
1314 src = fetchPypi {
1415 inherit pname version ;
15- sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178 " ;
16+ hash = "sha256-UMHvRjA3Sl1yOQAJapYc/0Jt/0a0jzTRlKgbvhTsoXg= " ;
1617 } ;
1718
18- # Tests run fine in a normal source checkout, but not when being built by nix.
19+ build-system = [
20+ setuptools
21+ ] ;
22+
23+ dependencies = [
24+ standard-cgi
25+ ] ;
26+
27+ # pypi tarball does not contain tests
1928 doCheck = false ;
2029
21- meta = with lib ; {
30+ meta = {
2231 description = "Configurable HTML Minifier with safety features" ;
2332 mainProgram = "htmlmin" ;
24- homepage = "https://pypi.python.org/pypi/htmlmin" ;
25- license = licenses . bsd3 ;
26- maintainers = [ ] ;
27- broken = pythonAtLeast "3.13" ; # requires removed cgi module
33+ homepage = "https://github.com/mankyd/htmlmin" ;
34+ license = lib . licenses . bsd3 ;
35+ maintainers = with lib . maintainers ; [ nickcao ] ;
2836 } ;
2937}
You can’t perform that action at this time.
0 commit comments