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