forked from mirrors/nixpkgs
8faf41fe05
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. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 3.5.2 with grep in /nix/store/nmrdgaid01pxdciii293qs8pj79a0jm1-libsass-3.5.2 - directory tree listing: https://gist.github.com/56876c4a3406ecb01ba31b9a9dbed572
26 lines
653 B
Nix
26 lines
653 B
Nix
{ stdenv, fetchurl, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libsass-${version}";
|
|
version = "3.5.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
|
|
sha256 = "1qjpicbjsj9gf8s00ma0d6kw6qfnc29fhrqdkvq8427wfffj654r";
|
|
};
|
|
|
|
patchPhase = ''
|
|
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;
|
|
};
|
|
}
|