2015-05-07 15:51:40 +02:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, libsass }:
|
2015-04-15 16:44:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-07 15:51:40 +02:00
|
|
|
name = "sassc-${version}";
|
2018-03-15 14:20:43 +01:00
|
|
|
version = "3.5.0";
|
2015-04-15 16:44:35 +02:00
|
|
|
|
2015-05-07 15:51:40 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/sass/sassc/archive/${version}.tar.gz";
|
2018-03-15 14:20:43 +01:00
|
|
|
sha256 = "0hl0j4ky13fzcv2y7w352gaq8fjmypwgazf7ddqdv0sbj8qlxx96";
|
2015-04-15 16:44:35 +02:00
|
|
|
};
|
|
|
|
|
2015-05-07 15:51:40 +02:00
|
|
|
patchPhase = ''
|
|
|
|
export SASSC_VERSION=${version}
|
2015-04-15 16:44:35 +02:00
|
|
|
'';
|
|
|
|
|
2015-05-07 15:51:40 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-04-15 16:44:35 +02:00
|
|
|
|
2015-05-07 15:51:40 +02:00
|
|
|
buildInputs = [ libsass ];
|
2015-04-15 16:44:35 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A front-end for libsass";
|
|
|
|
homepage = https://github.com/sass/sassc/;
|
2015-05-07 15:51:40 +02:00
|
|
|
license = licenses.mit;
|
2015-06-01 07:28:18 +02:00
|
|
|
maintainers = with maintainers; [ codyopel pjones ];
|
2015-04-15 16:44:35 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|