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:
parent
f7d7c7bedf
commit
a358c43975
1 changed files with 12 additions and 4 deletions
|
@ -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/;
|
||||||
|
|
Loading…
Reference in a new issue