Merge pull request #6993 from kevinmarsh/pyscss

Add pyScss python package
This commit is contained in:
lethalman 2015-03-30 16:11:03 +02:00
commit b379026d7e

View file

@ -7406,6 +7406,23 @@ let
};
};
pathlib = buildPythonPackage rec {
name = "pathlib-${version}";
version = "1.0.1";
disabled = pythonAtLeast "3.4"; # Was added to std library in Python 3.4
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pathlib/${name}.tar.gz";
sha256 = "17zajiw4mjbkkv6ahp3xf025qglkj0805m9s41c45zryzj6p2h39";
};
meta = {
description = "Object-oriented filesystem paths";
homepage = "https://pathlib.readthedocs.org/";
license = stdenv.lib.licenses.mit;
};
};
pathpy = buildPythonPackage rec {
name = "path.py-5.2";
@ -9155,6 +9172,25 @@ let
};
});
pyscss = buildPythonPackage rec {
name = "pyScss-${version}";
version = "1.3.4";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pyScss/${name}.tar.gz";
sha256 = "03lcp853kgr66aqrw2jd1q9jhs9h049w7zlwp7bfmly7xh832cnh";
};
propagatedBuildInputs = with self; [ six ]
++ (optionals (pythonOlder "3.4") [ enum34 pathlib ])
++ (optionals (pythonOlder "2.7") [ ordereddict ]);
meta = {
description = "A Scss compiler for Python";
homepage = http://pyscss.readthedocs.org/en/latest/;
license = stdenv.lib.licenses.mit;
};
};
pyserial = buildPythonPackage rec {
name = "pyserial-2.7";