supernovas: 1.5.1 -> 1.6.0 (#520629)
This commit is contained in:
@@ -5,16 +5,17 @@
|
||||
cmake,
|
||||
calceph,
|
||||
withCalceph ? true,
|
||||
cppSupport ? true,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "supernovas";
|
||||
version = "1.5.1";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smithsonian";
|
||||
owner = "Sigmyne";
|
||||
repo = "supernovas";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-2M5gBtjCPdVpLU5YsUWVJoRH1YWMZ48ADHwwc3ZJRPk=";
|
||||
hash = "sha256-sLGl9Lh7bpvxhQ568kmwOMgVxFhH2lDRY/ftX6Oqm2w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -27,8 +28,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
|
||||
(lib.cmakeBool "ENABLE_CALCEPH" withCalceph)
|
||||
(lib.cmakeBool "BUILD_EXAMPLES" false)
|
||||
(lib.cmakeBool "ENABLE_CPP" cppSupport)
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "High-performance astrometry library for C/C++";
|
||||
homepage = "https://smithsonian.github.io/SuperNOVAS/";
|
||||
|
||||
Reference in New Issue
Block a user