mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
3cc3a7626d
Closes #135274
30 lines
692 B
Nix
30 lines
692 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libsass }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sassc";
|
|
version = "3.6.2"; # also check libsass for updates
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sass";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-jcs3+orRqKt9C3c2FTdeaj4H2rBP74lW3HF8CHSm7lQ=";
|
|
};
|
|
|
|
preConfigure = ''
|
|
export SASSC_VERSION=${version}
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ libsass ];
|
|
|
|
meta = with lib; {
|
|
description = "A front-end for libsass";
|
|
homepage = "https://github.com/sass/sassc/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ codyopel pjones ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|