{ stdenv, fetchurl, autoreconfHook }: stdenv.mkDerivation rec { name = "libsass-${version}"; version = "3.5.2"; src = fetchurl { url = "https://github.com/sass/libsass/archive/${version}.tar.gz"; sha256 = "1qjpicbjsj9gf8s00ma0d6kw6qfnc29fhrqdkvq8427wfffj654r"; }; 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; }; }