2019-05-24 11:15:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libsass }:
|
2015-04-15 14:44:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-24 11:15:14 +00:00
|
|
|
pname = "sassc";
|
|
|
|
version = "3.6.0";
|
2015-04-15 14:44:35 +00:00
|
|
|
|
2019-05-24 11:15:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sass";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "14cbprnz70bv9qcs1aglvj9kkhf22as5xxz7gkv2ni8yjy8rp8q2";
|
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;
|
|
|
|
};
|
|
|
|
}
|