forked from mirrors/nixpkgs
26 lines
653 B
Nix
26 lines
653 B
Nix
{ stdenv, fetchurl, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libsass-${version}";
|
|
version = "3.4.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
|
|
sha256 = "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|