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