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