about summary refs log tree commit diff
path: root/pkgs/development/libraries/libsass
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2015-02-14 23:33:36 +0100
committerJaka Hudoklin <jakahudoklin@gmail.com>2015-02-22 12:03:06 +0100
commit8de806ebd4a8558e7a5b200e0b0ec4403b3bbc7a (patch)
treeee18049a91166250f4b9ce8e7aa1fc2af4c4993b /pkgs/development/libraries/libsass
parent9060376bcde5a023b14d80c7bfdb25f5aeabb57f (diff)
Add libsass
Diffstat (limited to 'pkgs/development/libraries/libsass')
-rw-r--r--pkgs/development/libraries/libsass/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libsass/default.nix b/pkgs/development/libraries/libsass/default.nix
new file mode 100644
index 0000000000000..dbfa1656a1a6b
--- /dev/null
+++ b/pkgs/development/libraries/libsass/default.nix
@@ -0,0 +1,27 @@
+{ 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;
+  };
+}