2018-04-03 13:13:12 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cssutils";
|
2018-04-04 20:05:12 +02:00
|
|
|
version = "1.0.2";
|
2018-04-03 13:13:12 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:05:12 +02:00
|
|
|
sha256 = "a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf";
|
2018-04-03 13:13:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
|
|
|
# couple of failing tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Python package to parse and build CSS";
|
2019-12-08 17:50:31 +01:00
|
|
|
homepage = "http://cthedot.de/cssutils/";
|
2018-04-03 13:13:12 +02:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
};
|
|
|
|
}
|