2018-04-03 12:13:12 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cssutils";
|
2018-04-04 19:05:12 +01:00
|
|
|
version = "1.0.2";
|
2018-04-03 12:13:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:05:12 +01:00
|
|
|
sha256 = "a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf";
|
2018-04-03 12:13:12 +01: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 16:50:31 +00:00
|
|
|
homepage = "http://cthedot.de/cssutils/";
|
2018-04-03 12:13:12 +01:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
};
|
|
|
|
}
|