nixpkgs/pkgs/by-name/oo/oobicpl/package.nix

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

40 lines
917 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, cmake
, libminc
, bicpl
, arguments
, pcre-cpp }:
2017-09-29 18:04:05 +00:00
stdenv.mkDerivation rec {
pname = "oobicpl";
version = "unstable-2020-08-12";
2017-09-29 18:04:05 +00:00
src = fetchFromGitHub {
owner = "BIC-MNI";
2017-09-29 18:04:05 +00:00
repo = pname;
rev = "a9409da8a5bb4925438f32aff577b6333faec28b";
sha256 = "0b4chjhr32wbb1sash8cq1jfnr7rzdq84hif8anlrjqd3l0gw357";
2017-09-29 18:04:05 +00:00
};
nativeBuildInputs = [ cmake ];
2017-09-29 18:04:05 +00:00
buildInputs = [ libminc bicpl arguments pcre-cpp ];
cmakeFlags = [
"-DLIBMINC_DIR=${libminc}/lib/cmake"
"-DBICPL_DIR=${bicpl}/lib"
"-DARGUMENTS_DIR=${arguments}/lib"
"-DOOBICPL_BUILD_SHARED_LIBS=TRUE"
];
2017-09-29 18:04:05 +00:00
meta = with lib; {
homepage = "https://github.com/BIC-MNI/oobicpl";
2017-09-29 18:04:05 +00:00
description = "Brain Imaging Centre object-oriented programming library (and tools)";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
};
}