2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libsass }:
|
2015-04-15 15:44:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-24 12:15:14 +01:00
|
|
|
pname = "sassc";
|
2021-11-12 17:22:33 +00:00
|
|
|
version = "3.6.2"; # also check libsass for updates
|
2015-04-15 15:44:35 +01:00
|
|
|
|
2019-05-24 12:15:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sass";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-11-12 17:22:33 +00:00
|
|
|
sha256 = "sha256-jcs3+orRqKt9C3c2FTdeaj4H2rBP74lW3HF8CHSm7lQ=";
|
2015-04-15 15:44:35 +01:00
|
|
|
};
|
|
|
|
|
2021-12-14 10:05:11 +00:00
|
|
|
postPatch = ''
|
2015-05-07 14:51:40 +01:00
|
|
|
export SASSC_VERSION=${version}
|
2015-04-15 15:44:35 +01:00
|
|
|
'';
|
|
|
|
|
2015-05-07 14:51:40 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-04-15 15:44:35 +01:00
|
|
|
|
2015-05-07 14:51:40 +01:00
|
|
|
buildInputs = [ libsass ];
|
2015-04-15 15:44:35 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-04-15 15:44:35 +01:00
|
|
|
description = "A front-end for libsass";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sass/sassc/";
|
2015-05-07 14:51:40 +01:00
|
|
|
license = licenses.mit;
|
2015-06-01 06:28:18 +01:00
|
|
|
maintainers = with maintainers; [ codyopel pjones ];
|
2015-04-15 15:44:35 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|