Skip to content

Commit

Permalink
python.pkgs.pyscss: 1.3.4 -> 1.3.5
Browse files Browse the repository at this point in the history
this also:
 - enables tests (properly)
 - fixes build on python 3.6

(cherry picked from commit a358c43)
  • Loading branch information
risicle authored and Mic92 committed Sep 24, 2017
1 parent 550a7c9 commit 40b0653
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -18000,17 +18000,25 @@ in {

pyscss = buildPythonPackage rec {
name = "pyScss-${version}";
version = "1.3.4";
version = "1.3.5";

src = pkgs.fetchurl {
url = "mirror://pypi/p/pyScss/${name}.tar.gz";
sha256 = "03lcp853kgr66aqrw2jd1q9jhs9h049w7zlwp7bfmly7xh832cnh";
src = pkgs.fetchFromGitHub {
sha256 = "0lfsan74vcw6dypb196gmbprvlbran8p7w6czy8hyl2b1l728mhz";
rev = "v1.3.5";
repo = "pyScss";
owner = "Kronuz";
};

checkInputs = with self; [ pytest ];

propagatedBuildInputs = with self; [ six ]
++ (optionals (pythonOlder "3.4") [ enum34 pathlib ])
++ (optionals (pythonOlder "2.7") [ ordereddict ]);

checkPhase = ''
py.test
'';

meta = {
description = "A Scss compiler for Python";
homepage = http://pyscss.readthedocs.org/en/latest/;
Expand Down

0 comments on commit 40b0653

Please sign in to comment.