at 16.09-beta 25 lines 665 B view raw
1{ stdenv, fetchurl, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 name = "libsass-${version}"; 5 version = "3.3.2"; 6 7 src = fetchurl { 8 url = "https://github.com/sass/libsass/archive/${version}.tar.gz"; 9 sha256 = "affb7efaa7e152e576cc1d510c662ebe067b0b9e9228ad2937dcafdd4431b573"; 10 }; 11 12 patchPhase = '' 13 export LIBSASS_VERSION=${version} 14 ''; 15 16 nativeBuildInputs = [ autoreconfHook ]; 17 18 meta = with stdenv.lib; { 19 description = "A C/C++ implementation of a Sass compiler"; 20 homepage = https://github.com/sass/libsass; 21 license = licenses.mit; 22 maintainers = with maintainers; [ codyopel offline ]; 23 platforms = platforms.unix; 24 }; 25}