New package: SassC (front-end for libsass)

This commit is contained in:
Peter Jones 2015-04-15 08:44:35 -06:00
parent fecba03ba6
commit c61aa9c2d1
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libsass }:
stdenv.mkDerivation rec {
name = "sassc";
version = "3.1.0";
src = fetchFromGitHub {
owner = "sass";
repo = "sassc";
rev = version;
sha256 = "0lpilmsir9b9292a4b8kq3zzg5cfh031p0krgam5rmsn39i6ivs4";
};
preConfigure = ''
export SASSC_VERSION="3.1.0"
autoreconf --force --install
'';
buildInputs = [ autoconf automake libtool libsass ];
installPhase = ''
mkdir -p $out/bin
cp sassc $out/bin/
'';
meta = with stdenv.lib; {
description = "A front-end for libsass";
license = licenses.mit;
homepage = https://github.com/sass/sassc/;
maintainers = with maintainers; [ pjones ];
platforms = platforms.unix;
};
}

View File

@ -9446,6 +9446,8 @@ let
rtkit = callPackage ../os-specific/linux/rtkit { };
sassc = callPackage ../development/tools/sassc { };
sdparm = callPackage ../os-specific/linux/sdparm { };
sepolgen = callPackage ../os-specific/linux/sepolgen { };