nixpkgs/pkgs/development/libraries/libsass/default.nix
2015-05-07 09:50:50 -04:00

25 lines
644 B
Nix

{ stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libsass-${version}";
version = "3.2.2";
src = fetchurl {
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
sha256 = "022rvsnqslds1ss6ls1x1w93mrhq7nigd00wjlnd07qhfqpbnwax";
};
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; [ offline ];
platforms = platforms.unix;
};
}