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