python.pkgs.pyscss: 1.3.4 -> 1.3.5

this also:
 - enables tests (properly)
 - fixes build on python 3.6
This commit is contained in:
Robert Scott 2017-09-23 15:15:48 +01:00
parent f7d7c7bedf
commit a358c43975

View file

@ -17797,17 +17797,25 @@ in {
pyscss = buildPythonPackage rec { pyscss = buildPythonPackage rec {
name = "pyScss-${version}"; name = "pyScss-${version}";
version = "1.3.4"; version = "1.3.5";
src = pkgs.fetchurl { src = pkgs.fetchFromGitHub {
url = "mirror://pypi/p/pyScss/${name}.tar.gz"; sha256 = "0lfsan74vcw6dypb196gmbprvlbran8p7w6czy8hyl2b1l728mhz";
sha256 = "03lcp853kgr66aqrw2jd1q9jhs9h049w7zlwp7bfmly7xh832cnh"; rev = "v1.3.5";
repo = "pyScss";
owner = "Kronuz";
}; };
checkInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ six ] propagatedBuildInputs = with self; [ six ]
++ (optionals (pythonOlder "3.4") [ enum34 pathlib ]) ++ (optionals (pythonOlder "3.4") [ enum34 pathlib ])
++ (optionals (pythonOlder "2.7") [ ordereddict ]); ++ (optionals (pythonOlder "2.7") [ ordereddict ]);
checkPhase = ''
py.test
'';
meta = { meta = {
description = "A Scss compiler for Python"; description = "A Scss compiler for Python";
homepage = http://pyscss.readthedocs.org/en/latest/; homepage = http://pyscss.readthedocs.org/en/latest/;