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

26 lines
644 B
Nix
Raw Normal View History

2015-05-07 16:50:50 +03:00
{ stdenv, fetchurl, autoreconfHook }:
2015-02-15 01:33:36 +03:00
stdenv.mkDerivation rec {
name = "libsass-${version}";
2015-05-07 16:50:50 +03:00
version = "3.2.2";
2015-02-15 01:33:36 +03:00
2015-05-07 16:50:50 +03:00
src = fetchurl {
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
sha256 = "022rvsnqslds1ss6ls1x1w93mrhq7nigd00wjlnd07qhfqpbnwax";
2015-02-15 01:33:36 +03:00
};
2015-05-07 16:50:50 +03:00
patchPhase = ''
export LIBSASS_VERSION=${version}
2015-02-15 01:33:36 +03:00
'';
2015-05-07 16:50:50 +03:00
nativeBuildInputs = [ autoreconfHook ];
2015-02-15 01:33:36 +03:00
2015-05-07 16:50:50 +03:00
meta = with stdenv.lib; {
2015-02-15 01:33:36 +03:00
description = "A C/C++ implementation of a Sass compiler";
homepage = https://github.com/sass/libsass;
2015-05-07 16:50:50 +03:00
license = licenses.mit;
2015-02-15 01:33:36 +03:00
maintainers = with maintainers; [ offline ];
2015-05-07 16:50:50 +03:00
platforms = platforms.unix;
2015-02-15 01:33:36 +03:00
};
}