nixpkgs/pkgs/development/libraries/coordgenlibs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
877 B
Nix
Raw Normal View History

2021-02-01 17:20:34 +00:00
{ fetchFromGitHub
, lib
, stdenv
, boost
, zlib
, cmake
, maeparser
}:
2023-12-30 03:07:06 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-02-01 17:20:34 +00:00
pname = "coordgenlibs";
2023-02-05 00:52:56 +00:00
version = "3.0.2";
2021-02-01 17:20:34 +00:00
src = fetchFromGitHub {
owner = "schrodinger";
2023-12-30 03:07:06 +00:00
repo = "coordgenlibs";
rev = "v${finalAttrs.version}";
hash = "sha256-casFPNbPv9mkKpzfBENW7INClypuCO1L7clLGBXvSvI=";
2021-02-01 17:20:34 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost zlib maeparser ];
2023-12-30 02:57:18 +00:00
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-unused-but-set-variable";
};
2023-12-30 03:04:53 +00:00
doCheck = true;
2021-02-01 17:20:34 +00:00
meta = with lib; {
description = "Schrodinger-developed 2D Coordinate Generation";
2023-12-30 03:07:06 +00:00
homepage = "https://github.com/schrodinger/coordgenlibs";
changelog = "https://github.com/schrodinger/coordgenlibs/releases/tag/${finalAttrs.version}";
2021-02-01 17:20:34 +00:00
maintainers = [ maintainers.rmcgibbo ];
license = licenses.bsd3;
};
2023-12-30 03:07:06 +00:00
})