@@ -0,0 +1,27 @@
1+{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool }:
2+
3+stdenv.mkDerivation rec {
4+ name = "libsass-${version}";
5+ version = "3.1.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "sass";
9+ repo = "libsass";
10+ rev = version;
11+ sha256 = "1k9a6hiybqk7xx4k2cb9vhdqskrrzhi60dvwp3gx39jhjqjfl96p";
12+ };
13+
14+ preConfigure = ''
15+ autoreconf --force --install
16+ '';
17+
18+ buildInputs = [ autoconf automake libtool ];
19+
20+ meta = with lib; {
21+ description = "A C/C++ implementation of a Sass compiler";
22+ license = licenses.mit;
23+ homepage = https://github.com/sass/libsass;
24+ maintainers = with maintainers; [ offline ];
25+ platforms = with platforms; unix;
26+ };
27+}