From 5f874466ebdbda586d34cf6bdb9e0ccdcb937435 Mon Sep 17 00:00:00 2001 From: codyopel Date: Thu, 7 May 2015 09:50:50 -0400 Subject: libsass: 3.1.0 -> 3.2.2 --- pkgs/development/libraries/libsass/default.nix | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/pkgs/development/libraries/libsass/default.nix b/pkgs/development/libraries/libsass/default.nix index dbfa1656a1a..69bae8abfeb 100644 --- a/pkgs/development/libraries/libsass/default.nix +++ b/pkgs/development/libraries/libsass/default.nix @@ -1,27 +1,25 @@ -{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool }: +{ stdenv, fetchurl, autoreconfHook }: stdenv.mkDerivation rec { name = "libsass-${version}"; - version = "3.1.0"; + version = "3.2.2"; - src = fetchFromGitHub { - owner = "sass"; - repo = "libsass"; - rev = version; - sha256 = "1k9a6hiybqk7xx4k2cb9vhdqskrrzhi60dvwp3gx39jhjqjfl96p"; + src = fetchurl { + url = "https://github.com/sass/libsass/archive/${version}.tar.gz"; + sha256 = "022rvsnqslds1ss6ls1x1w93mrhq7nigd00wjlnd07qhfqpbnwax"; }; - preConfigure = '' - autoreconf --force --install + patchPhase = '' + 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"; - license = licenses.mit; homepage = https://github.com/sass/libsass; + license = licenses.mit; maintainers = with maintainers; [ offline ]; - platforms = with platforms; unix; + platforms = platforms.unix; }; } -- cgit 1.4.1