2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libsass }:
|
2015-04-15 16:44:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-24 13:15:14 +02:00
|
|
|
pname = "sassc";
|
2019-07-03 00:54:13 +02:00
|
|
|
version = "3.6.1";
|
2015-04-15 16:44:35 +02:00
|
|
|
|
2019-05-24 13:15:14 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sass";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-07-03 00:54:13 +02:00
|
|
|
sha256 = "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv";
|
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
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-04-15 16:44:35 +02:00
|
|
|
description = "A front-end for libsass";
|
2020-04-01 03:11:51 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|