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

33 lines
852 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook }:
2015-02-14 22:33:36 +00:00
stdenv.mkDerivation rec {
pname = "libsass";
version = "3.6.0";
2015-02-14 22:33:36 +00:00
src = fetchFromGitHub {
owner = "sass";
repo = pname;
rev = version;
sha256 = "0c2cfmxv1h4f258l9ph6jrnk1ip5bngapzbw1x3vsqxw7hy20n4a";
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
extraPostFetch = ''
rm -r $out/test/e2e/unicode-pwd
'';
2015-02-14 22:33:36 +00:00
};
preConfigure = ''
2015-05-07 14:50:50 +01:00
export LIBSASS_VERSION=${version}
2015-02-14 22:33:36 +00:00
'';
2015-05-07 14:50:50 +01:00
nativeBuildInputs = [ autoreconfHook ];
2015-02-14 22:33:36 +00:00
2015-05-07 14:50:50 +01:00
meta = with stdenv.lib; {
2015-02-14 22:33:36 +00:00
description = "A C/C++ implementation of a Sass compiler";
homepage = https://github.com/sass/libsass;
2015-05-07 14:50:50 +01:00
license = licenses.mit;
2015-06-01 06:27:46 +01:00
maintainers = with maintainers; [ codyopel offline ];
2015-05-07 14:50:50 +01:00
platforms = platforms.unix;
2015-02-14 22:33:36 +00:00
};
}