about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libsass
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libsass')
-rw-r--r--nixpkgs/pkgs/development/libraries/libsass/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libsass/default.nix b/nixpkgs/pkgs/development/libraries/libsass/default.nix
new file mode 100644
index 000000000000..54108e1a007b
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libsass/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, fetchpatch, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+  name = "libsass-${version}";
+  version = "3.5.5";
+
+  src = fetchurl {
+    url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
+    sha256 = "0w6v1xa00jvfyk4b29ir7dfkhiq72anz015gg580bi7x3n7saz28";
+  };
+
+  preConfigure = ''
+    export LIBSASS_VERSION=${version}
+  '';
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  meta = with stdenv.lib; {
+    description = "A C/C++ implementation of a Sass compiler";
+    homepage = https://github.com/sass/libsass;
+    license = licenses.mit;
+    maintainers = with maintainers; [ codyopel offline ];
+    platforms = platforms.unix;
+  };
+}