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