From c61aa9c2d1ca52281f27bda78868937027f8fca4 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 15 Apr 2015 08:44:35 -0600 Subject: [PATCH] New package: SassC (front-end for libsass) --- pkgs/development/tools/sassc/default.nix | 33 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/tools/sassc/default.nix diff --git a/pkgs/development/tools/sassc/default.nix b/pkgs/development/tools/sassc/default.nix new file mode 100644 index 000000000000..b9b897421658 --- /dev/null +++ b/pkgs/development/tools/sassc/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aefb1993857f..07e233540759 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };