Skip to content

Commit

Permalink
minizinc: 2.2.1 -> 2.2.3
Browse files Browse the repository at this point in the history
Using a git revision for 2.2.3 because their tags are disappearing.

See:
- MiniZinc/libminizinc#257
- MiniZinc/libminizinc#248
  • Loading branch information
worldofpeace committed Nov 23, 2018
1 parent 0925c48 commit 1040875
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/development/tools/minizinc/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{ stdenv, fetchFromGitHub, cmake, flex, bison }:
let
version = "2.2.1";
version = "2.2.3";
in
stdenv.mkDerivation {
name = "minizinc-${version}";

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.";
Expand Down

0 comments on commit 1040875

Please sign in to comment.