2015-05-07 14:51:40 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, libsass }:
|
2015-04-15 15:44:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-07 14:51:40 +01:00
|
|
|
name = "sassc-${version}";
|
|
|
|
version = "3.2.1";
|
2015-04-15 15:44:35 +01:00
|
|
|
|
2015-05-07 14:51:40 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/sass/sassc/archive/${version}.tar.gz";
|
|
|
|
sha256 = "18pp7ylcwfvfagvnpw660cdvv7cjl7pl9v8x7xr05fp2l6133rxw";
|
2015-04-15 15:44:35 +01:00
|
|
|
};
|
|
|
|
|
2015-05-07 14:51:40 +01:00
|
|
|
patchPhase = ''
|
|
|
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A front-end for libsass";
|
|
|
|
homepage = https://github.com/sass/sassc/;
|
2015-05-07 14:51:40 +01:00
|
|
|
license = licenses.mit;
|
2015-04-15 15:44:35 +01:00
|
|
|
maintainers = with maintainers; [ pjones ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|