mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPackages.libsass: init at 0.20.1
This commit is contained in:
parent
90fd589286
commit
c2211b2d7a
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/libsass/default.nix
Normal file
37
pkgs/development/python-modules/libsass/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, libsass, six, pytest, werkzeug }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "libsass";
|
||||||
|
version = "0.20.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sass";
|
||||||
|
repo = "libsass-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1r0kgl7i6nnhgjl44sjw57k08gh2qr7l8slqih550dyxbf1akbxh";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ libsass ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
export SYSTEM_SASS=true;
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
werkzeug
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest sasstests.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A straightforward binding of libsass for Python. Compile Sass/SCSS in Python with no Ruby stack at all!";
|
||||||
|
homepage = "https://sass.github.io/libsass-python/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3386,6 +3386,8 @@ in {
|
||||||
|
|
||||||
librosa = callPackage ../development/python-modules/librosa { };
|
librosa = callPackage ../development/python-modules/librosa { };
|
||||||
|
|
||||||
|
libsass = (callPackage ../development/python-modules/libsass { inherit (pkgs) libsass; });
|
||||||
|
|
||||||
libsavitar = callPackage ../development/python-modules/libsavitar { };
|
libsavitar = callPackage ../development/python-modules/libsavitar { };
|
||||||
|
|
||||||
libselinux = pipe pkgs.libselinux [
|
libselinux = pipe pkgs.libselinux [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue