1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "rjsmin";
9 version = "1.2.2";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-jBvNghFD/s8jJCAStV4TYQhAqDnNRns1jxY1kBDWLa4=";
17 };
18
19 # The package does not ship tests, and the setup machinary confuses
20 # tests auto-discovery
21 doCheck = false;
22
23 pythonImportsCheck = [
24 "rjsmin"
25 ];
26
27 meta = with lib; {
28 description = "Module to minify Javascript";
29 homepage = "http://opensource.perlig.de/rjsmin/";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ ];
32 };
33}