ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
32 lines
748 B
Nix
32 lines
748 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=";
|
|
};
|
|
|
|
postPatch = ''
|
|
export SASSC_VERSION=${version}
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ libsass ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Front-end for libsass";
|
|
homepage = "https://github.com/sass/sassc/";
|
|
license = licenses.mit;
|
|
mainProgram = "sassc";
|
|
maintainers = with maintainers; [ codyopel pjones ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|