gappa: 1.6.0 -> 1.6.1 (#452176)
This commit is contained in:
@@ -5,26 +5,47 @@
|
|||||||
gmp,
|
gmp,
|
||||||
mpfr,
|
mpfr,
|
||||||
boost,
|
boost,
|
||||||
version ? "1.6.0",
|
versionCheckHook,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "gappa";
|
pname = "gappa";
|
||||||
inherit version;
|
version = "1.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://gappa.gitlabpages.inria.fr/releases/gappa-${version}.tar.gz";
|
url = "https://gappa.gitlabpages.inria.fr/releases/gappa-${finalAttrs.version}.tar.gz";
|
||||||
hash = "sha256-aNht0Ttv+gzS9eLzu4PQitRK/zQN9QQ4YOEjQ2d9xIM=";
|
hash = "sha256-1ux5ImKR8edXyvL21w3jY2o4/fATEjO2SMzS8B0o8Ok=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gmp
|
gmp
|
||||||
mpfr
|
mpfr
|
||||||
boost.dev
|
boost.dev
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = "./remake";
|
buildPhase = ''
|
||||||
installPhase = "./remake install";
|
runHook preBuild
|
||||||
|
|
||||||
|
./remake
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
./remake install
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://gappa.gitlabpages.inria.fr/";
|
homepage = "https://gappa.gitlabpages.inria.fr/";
|
||||||
@@ -37,4 +58,4 @@ stdenv.mkDerivation {
|
|||||||
maintainers = with lib.maintainers; [ vbgl ];
|
maintainers = with lib.maintainers; [ vbgl ];
|
||||||
platforms = lib.platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user