mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
28 lines
667 B
Nix
28 lines
667 B
Nix
|
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "libsass-${version}";
|
||
|
version = "3.1.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "sass";
|
||
|
repo = "libsass";
|
||
|
rev = version;
|
||
|
sha256 = "1k9a6hiybqk7xx4k2cb9vhdqskrrzhi60dvwp3gx39jhjqjfl96p";
|
||
|
};
|
||
|
|
||
|
preConfigure = ''
|
||
|
autoreconf --force --install
|
||
|
'';
|
||
|
|
||
|
buildInputs = [ autoconf automake libtool ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A C/C++ implementation of a Sass compiler";
|
||
|
license = licenses.mit;
|
||
|
homepage = https://github.com/sass/libsass;
|
||
|
maintainers = with maintainers; [ offline ];
|
||
|
platforms = with platforms; unix;
|
||
|
};
|
||
|
}
|