{ stdenv, fetchurl, autoreconfHook }: stdenv.mkDerivation rec { name = "libsass-${version}"; version = "3.2.4"; src = fetchurl { url = "https://github.com/sass/libsass/archive/${version}.tar.gz"; sha256 = "1v804r7k0iv97ihlr46hwfw88v874kfklsm616b85yzdz0105i8h"; }; patchPhase = '' export LIBSASS_VERSION=${version} ''; nativeBuildInputs = [ autoreconfHook ]; meta = with stdenv.lib; { 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; }; }