My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/libraries/libsass/default.nix

34 lines
921 B

{ stdenv, fetchurl, fetchpatch, autoreconfHook }:
9 years ago
stdenv.mkDerivation rec {
name = "libsass-${version}";
version = "3.5.5";
9 years ago
src = fetchurl {
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
sha256 = "0w6v1xa00jvfyk4b29ir7dfkhiq72anz015gg580bi7x3n7saz28";
9 years ago
};
patches = [
(fetchpatch {
name = "CVE-2018-19827.patch";
url = "https://github.com/sass/libsass/commit/b21fb9f84096d9927780b86fa90629a096af358d.patch";
sha256 = "0ix12x9plmpgs3xda2fjdcykca687h16qfwqr57i5qphjr9vp33l";
})
];
preConfigure = ''
export LIBSASS_VERSION=${version}
9 years ago
'';
nativeBuildInputs = [ autoreconfHook ];
9 years ago
meta = with stdenv.lib; {
9 years ago
description = "A C/C++ implementation of a Sass compiler";
homepage = https://github.com/sass/libsass;
license = licenses.mit;
maintainers = with maintainers; [ codyopel offline ];
platforms = platforms.unix;
9 years ago
};
}