From d077506443d56c72c8f3fa9124532643597691df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carles=20Pag=C3=A8s?= Date: Thu, 12 May 2016 09:12:43 +0200 Subject: [PATCH] assimp: 3.1.1 -> 3.2 --- pkgs/development/libraries/assimp/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/assimp/default.nix b/pkgs/development/libraries/assimp/default.nix index 38d7e50bdf8e..ef75ad3fe871 100644 --- a/pkgs/development/libraries/assimp/default.nix +++ b/pkgs/development/libraries/assimp/default.nix @@ -1,17 +1,16 @@ -{ stdenv, fetchurl, unzip, cmake, boost, zlib }: +{ stdenv, fetchFromGitHub, unzip, cmake, boost, zlib }: let - major = "3"; - minor = "1"; - revision = "1"; - version = "${major}.${minor}.${revision}"; + version = "3.2"; in stdenv.mkDerivation { name = "assimp-${version}"; - src = fetchurl { - url = "mirror://sourceforge/project/assimp/assimp-${major}.${minor}/assimp-${version}_no_test_models.zip"; - sha256 = "17nyzsqzqpafamhi779f1bkh5mfgj8rpas034x3v9a0hdy3jg66s"; + src = fetchFromGitHub{ + owner = "assimp"; + repo = "assimp"; + rev = "v${version}"; + sha256 = "09fsksbq9a8gykwmw6gaicwh2ladrln1jc1xc5yk7w6x180cbb1x"; }; buildInputs = [ unzip cmake boost zlib ];