1{ stdenv, buildPythonPackage, fetchPypi }:
2buildPythonPackage rec {
3 pname = "rjsmin";
4 version = "1.0.12";
5 name = "${pname}-${version}";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1wc62d0f80kw1kjv8nlxychh0iy66a6pydi4vfvhh2shffm935fx";
10 };
11
12 # The package does not ship tests, and the setup machinary confuses
13 # tests auto-discovery
14 doCheck = false;
15
16 meta = with stdenv.lib; {
17 homepage = http://opensource.perlig.de/rjsmin/;
18 license = licenses.asl20;
19 description = "Javascript minifier written in python";
20 };
21}