mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
38 lines
780 B
Nix
38 lines
780 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, gtest
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "verdict";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sandialabs";
|
|
repo = "verdict";
|
|
rev = "refs/tags/${finalAttrs.version}";
|
|
hash = "sha256-VrjyAMou5BajOIb13RjEqVgOsDcllfzI/OJ81fyILjs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
gtest
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Compute functions of 2- and 3-dimensional regions";
|
|
homepage = "https://github.com/sandialabs/verdict";
|
|
license = licenses.bsd3;
|
|
changelog = "https://github.com/sandialabs/verdict/releases/tag/${finalAttrs.version}";
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|