Merge pull request #50975 from worldofpeace/minizinc/2.2.3

minizinc: 2.2.1 -> 2.2.3
This commit is contained in:
worldofpeace 2018-11-24 00:18:10 -05:00 committed by GitHub
commit 3ce5fac5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, flex, bison }:
let
version = "2.2.1";
version = "2.2.3";
in
stdenv.mkDerivation {
name = "minizinc-${version}";
@ -8,13 +8,12 @@ stdenv.mkDerivation {
buildInputs = [ cmake flex bison ];
src = fetchFromGitHub {
rev = "${version}";
owner = "MiniZinc";
repo = "libminizinc";
sha256 = "1i11lan7fqs3lg0s6jfr8sflzwn5nk1ln5j6afjrkrdb08291dr7";
rev = "3d66971a0cad6edbe796f4dd940229d38e5bfe3d"; # tags on the repo are disappearing: See https://github.com/MiniZinc/libminizinc/issues/257
sha256 = "1q31y9131aj2lsm34srm8i1s0271qcaaknzvym3r8awynm14saq5";
};
# meta is all the information about the package..
meta = with stdenv.lib; {
homepage = http://www.minizinc.org/;
description = "MiniZinc is a medium-level constraint modelling language.";