depot/pkgs/by-name/ob/objfw/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

41 lines
764 B
Nix

{
autoconf,
autogen,
automake,
clangStdenv,
fetchFromGitHub,
lib,
}:
clangStdenv.mkDerivation (finalAttrs: {
pname = "objfw";
version = "1.2";
src = fetchFromGitHub {
owner = "ObjFW";
repo = "ObjFW";
rev = "refs/tags/1.2-release";
hash = "sha256-nGajiLYwkIDyJujN2zWULkQXKV2A2wzjYl9IoZBU/N4=";
};
nativeBuildInputs = [
automake
autogen
autoconf
];
preConfigure = "./autogen.sh";
configureFlags = [
"--without-tls"
];
doCheck = true;
meta = {
description = "A portable framework for the Objective-C language";
homepage = "https://github.com/ObjFW/ObjFW";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.steeleduncan ];
platforms = lib.platforms.linux;
};
})