nixpkgs/pkgs/development/libraries/libsass/default.nix
2015-06-01 01:27:46 -04:00

26 lines
653 B
Nix

{ 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;
};
}