2015-05-07 15:50:50 +02:00
|
|
|
{ stdenv, fetchurl, autoreconfHook }:
|
2015-02-14 23:33:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libsass-${version}";
|
2018-05-02 23:09:00 +02:00
|
|
|
version = "3.5.4";
|
2015-02-14 23:33:36 +01:00
|
|
|
|
2015-05-07 15:50:50 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
|
2018-05-02 23:09:00 +02:00
|
|
|
sha256 = "0w47hvzmbdpbjx8j83wn8dwcvglpab8abkszf9xfzrpqvb6wnqaz";
|
2015-02-14 23:33:36 +01:00
|
|
|
};
|
|
|
|
|
2015-05-07 15:50:50 +02:00
|
|
|
patchPhase = ''
|
|
|
|
export LIBSASS_VERSION=${version}
|
2015-02-14 23:33:36 +01:00
|
|
|
'';
|
|
|
|
|
2015-05-07 15:50:50 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-02-14 23:33:36 +01:00
|
|
|
|
2015-05-07 15:50:50 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-02-14 23:33:36 +01:00
|
|
|
description = "A C/C++ implementation of a Sass compiler";
|
|
|
|
homepage = https://github.com/sass/libsass;
|
2015-05-07 15:50:50 +02:00
|
|
|
license = licenses.mit;
|
2015-06-01 07:27:46 +02:00
|
|
|
maintainers = with maintainers; [ codyopel offline ];
|
2015-05-07 15:50:50 +02:00
|
|
|
platforms = platforms.unix;
|
2015-02-14 23:33:36 +01:00
|
|
|
};
|
|
|
|
}
|