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


                              
                    
 


                                                                      

    

                                     

     
                                         
 
                           
                                                              
                                               
                           
                                                
                               

    
{ stdenv, fetchurl, autoreconfHook }:

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

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

  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; [ offline ];
    platforms = platforms.unix;
  };
}