depot/third_party/nixpkgs/pkgs/by-name/ve/verdict/package.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

37 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;
};
})