mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
gsl-lite: 0.43.0 -> 1.0.1
This commit is contained in:
parent
7c7b56462a
commit
6464331b63
1 changed files with 2 additions and 6 deletions
|
@ -4,18 +4,16 @@
|
|||
fetchFromGitHub,
|
||||
cmake,
|
||||
ninja,
|
||||
installCompatHeader ? false,
|
||||
installLegacyHeaders ? false,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gsl-lite";
|
||||
version = "0.43.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gsl-lite";
|
||||
repo = "gsl-lite";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9mvbD7zVTtfFRy2qIYJpU9XAlAW4ZLh5DE3WPEQpf38=";
|
||||
hash = "sha256-QlAeXUKVzH0QYxbKgWPS64h1iL4nnsmJ10h/wzoxq78=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -25,8 +23,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "GSL_LITE_OPT_BUILD_TESTS" finalAttrs.doCheck)
|
||||
(lib.cmakeBool "GSL_LITE_OPT_INSTALL_COMPAT_HEADER" installCompatHeader)
|
||||
(lib.cmakeBool "GSL_LITE_OPT_INSTALL_LEGACY_HEADERS" installLegacyHeaders)
|
||||
];
|
||||
|
||||
# Building tests is broken on Darwin.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue