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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
883 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2015-02-14 22:33:36 +00:00
stdenv.mkDerivation rec {
pname = "libsass";
version = "3.6.5"; # also check sassc for updates
2015-02-14 22:33:36 +00:00
src = fetchFromGitHub {
owner = "sass";
repo = pname;
rev = version;
sha256 = "1cxj6r85d5f3qxdwzxrmkx8z875hig4cr8zsi30w6vj23cyds3l2";
# 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 13:50:50 +00:00
export LIBSASS_VERSION=${version}
2015-02-14 22:33:36 +00:00
'';
2015-05-07 13:50:50 +00:00
nativeBuildInputs = [ autoreconfHook ];
2015-02-14 22:33:36 +00:00
meta = with 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 13:50:50 +00:00
license = licenses.mit;
2015-06-01 05:27:46 +00:00
maintainers = with maintainers; [ codyopel offline ];
2015-05-07 13:50:50 +00:00
platforms = platforms.unix;
2015-02-14 22:33:36 +00:00
};
}