mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
coqPackages.flocq: fetch sources from gitlab
This commit is contained in:
parent
bc1417c557
commit
5b0fdad5df
@ -1,14 +1,12 @@
|
|||||||
{ stdenv, bash, which, autoconf, automake, fetchurl, coq }:
|
{ stdenv, bash, which, autoconf, automake, fetchzip, coq }:
|
||||||
|
|
||||||
let params =
|
let params =
|
||||||
if stdenv.lib.versionAtLeast coq.coq-version "8.7" then {
|
if stdenv.lib.versionAtLeast coq.coq-version "8.7" then {
|
||||||
version = "3.2.0";
|
version = "3.2.0";
|
||||||
uid = "38103";
|
sha256 = "15bi36x7zj0glsb3s2gwqd4wswhfzh36rbp7imbyff53a7nna95l";
|
||||||
sha256 = "1snvzyyj6l1fv7nb70x5w8rjnhk483g9x8gszl9ls8qn2gd35fs0";
|
|
||||||
} else {
|
} else {
|
||||||
version = "2.6.1";
|
version = "2.6.1";
|
||||||
uid = "37454";
|
sha256 = "1y4czkfrd8p37vwv198nns4hz1brfv71na17pxsidwpxy7qnyfw1";
|
||||||
sha256 = "06msp1fwpqv6p98a3i1nnkj7ch9rcq3rm916yxq8dxf51lkghrin";
|
|
||||||
}
|
}
|
||||||
; in
|
; in
|
||||||
|
|
||||||
@ -17,8 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
name = "coq${coq.coq-version}-flocq-${version}";
|
name = "coq${coq.coq-version}-flocq-${version}";
|
||||||
inherit (params) version;
|
inherit (params) version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "https://gforge.inria.fr/frs/download.php/file/${params.uid}/flocq-${version}.tar.gz";
|
url = "https://gitlab.inria.fr/flocq/flocq/-/archive/flocq-${version}.tar.gz";
|
||||||
inherit (params) sha256;
|
inherit (params) sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user