summary refs log tree commit diff
path: root/pkgs/development/libraries/libsass/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libsass/default.nix')
-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 00000000000..dbfa1656a1a
--- /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;
+  };
+}