Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 039e317fe886
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b1cff045d6e1
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Nov 26, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    raboof Arnout Engelen
    Copy the full SHA
    c2211b2 View commit details
  2. Merge pull request #100521 from SuperSandro2000/python-libsass

    pythonPackages.libsass: init at 0.20.1
    SuperSandro2000 authored Nov 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b1cff04 View commit details
Showing with 39 additions and 0 deletions.
  1. +37 −0 pkgs/development/python-modules/libsass/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/libsass/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -3451,6 +3451,8 @@ in {

librosa = callPackage ../development/python-modules/librosa { };

libsass = (callPackage ../development/python-modules/libsass { inherit (pkgs) libsass; });

libsavitar = callPackage ../development/python-modules/libsavitar { };

libselinux = pipe pkgs.libselinux [