1abbb65931
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libsass/versions
32 lines
852 B
Nix
32 lines
852 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libsass";
|
|
version = "3.6.0";
|
|
|
|
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
|
|
'';
|
|
};
|
|
|
|
preConfigure = ''
|
|
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; [ codyopel offline ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|