nixpkgs/pkgs/development/libraries/libsass/default.nix

26 lines
665 B
Nix
Raw Normal View History

2015-05-07 06:50:50 -07:00
{ stdenv, fetchurl, autoreconfHook }:
2015-02-14 14:33:36 -08:00
stdenv.mkDerivation rec {
name = "libsass-${version}";
2015-12-10 14:25:49 -08:00
version = "3.3.2";
2015-02-14 14:33:36 -08:00
2015-05-07 06:50:50 -07:00
src = fetchurl {
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
2015-12-10 14:25:49 -08:00
sha256 = "affb7efaa7e152e576cc1d510c662ebe067b0b9e9228ad2937dcafdd4431b573";
2015-02-14 14:33:36 -08:00
};
2015-05-07 06:50:50 -07:00
patchPhase = ''
export LIBSASS_VERSION=${version}
2015-02-14 14:33:36 -08:00
'';
2015-05-07 06:50:50 -07:00
nativeBuildInputs = [ autoreconfHook ];
2015-02-14 14:33:36 -08:00
2015-05-07 06:50:50 -07:00
meta = with stdenv.lib; {
2015-02-14 14:33:36 -08:00
description = "A C/C++ implementation of a Sass compiler";
homepage = https://github.com/sass/libsass;
2015-05-07 06:50:50 -07:00
license = licenses.mit;
2015-05-31 22:27:46 -07:00
maintainers = with maintainers; [ codyopel offline ];
2015-05-07 06:50:50 -07:00
platforms = platforms.unix;
2015-02-14 14:33:36 -08:00
};
}