summary refs log blame commit diff
path: root/pkgs/development/libraries/libsass/default.nix
blob: 8168ff0edae438711ab438266026406d40e9740b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                     


                              
                    
 

                                                                      
                                                                    

    

                                     

     
                                         
 
                           
                                                              
                                               
                           
                                                         
                               

    
{ stdenv, fetchurl, autoreconfHook }:

stdenv.mkDerivation rec {
  name = "libsass-${version}";
  version = "3.5.4";

  src = fetchurl {
    url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
    sha256 = "0w47hvzmbdpbjx8j83wn8dwcvglpab8abkszf9xfzrpqvb6wnqaz";
  };

  patchPhase = ''
    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;
  };
}