libsass: 3.1.0 -> 3.2.2

This commit is contained in:
codyopel 2015-05-07 09:50:50 -04:00
parent 8ea440b59b
commit 5f874466eb

View File

@ -1,27 +1,25 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool }: { stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libsass-${version}"; name = "libsass-${version}";
version = "3.1.0"; version = "3.2.2";
src = fetchFromGitHub { src = fetchurl {
owner = "sass"; url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
repo = "libsass"; sha256 = "022rvsnqslds1ss6ls1x1w93mrhq7nigd00wjlnd07qhfqpbnwax";
rev = version;
sha256 = "1k9a6hiybqk7xx4k2cb9vhdqskrrzhi60dvwp3gx39jhjqjfl96p";
}; };
preConfigure = '' patchPhase = ''
autoreconf --force --install export LIBSASS_VERSION=${version}
''; '';
buildInputs = [ autoconf automake libtool ]; nativeBuildInputs = [ autoreconfHook ];
meta = with lib; { meta = with stdenv.lib; {
description = "A C/C++ implementation of a Sass compiler"; description = "A C/C++ implementation of a Sass compiler";
license = licenses.mit;
homepage = https://github.com/sass/libsass; homepage = https://github.com/sass/libsass;
license = licenses.mit;
maintainers = with maintainers; [ offline ]; maintainers = with maintainers; [ offline ];
platforms = with platforms; unix; platforms = platforms.unix;
}; };
} }