uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/development/python-modules/pyscss/default.nix
Normal file
42
pkgs/development/python-modules/pyscss/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, six
|
||||
, enum34
|
||||
, pathlib
|
||||
, ordereddict
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyScss";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "pyScss";
|
||||
owner = "Kronuz";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-z0y4z+/JE6rZWHAvps/taDZvutyVhxxs2gMujV5rNu4=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ six ]
|
||||
++ (lib.optionals (pythonOlder "3.4") [ enum34 pathlib ])
|
||||
++ (lib.optionals (pythonOlder "2.7") [ ordereddict ]);
|
||||
|
||||
# Test suite is broken.
|
||||
# See https://github.com/Kronuz/pyScss/issues/415
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Scss compiler for Python";
|
||||
homepage = "https://pyscss.readthedocs.org/en/latest/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue