summary refs log blame commit diff
path: root/pkgs/development/libraries/libsass/default.nix
blob: dbfa1656a1a6b81d320a32c94df26527f043afc7 (plain) (tree)


























                                                                    
{ 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;
  };
}