Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
907 B
Nix
47 lines
907 B
Nix
{
|
|
autoconf,
|
|
autogen,
|
|
automake,
|
|
clangStdenv,
|
|
fetchfossil,
|
|
lib,
|
|
objfw,
|
|
writeTextDir,
|
|
}:
|
|
|
|
clangStdenv.mkDerivation (finalAttrs: {
|
|
pname = "objfw";
|
|
version = "1.3.2";
|
|
|
|
src = fetchfossil {
|
|
url = "https://objfw.nil.im/home";
|
|
rev = "${finalAttrs.version}-release";
|
|
hash = "sha256-cFYsiNG60FyDXAeiuBZn/u/1dEawVAxF7EDFBZRYt7w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
automake
|
|
autogen
|
|
autoconf
|
|
];
|
|
|
|
preConfigure = "./autogen.sh";
|
|
configureFlags = [
|
|
"--without-tls"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
passthru.tests = {
|
|
build-hello-world = (import ./test-build-and-run.nix) { inherit clangStdenv objfw writeTextDir; };
|
|
};
|
|
|
|
meta = {
|
|
description = "Portable framework for the Objective-C language";
|
|
homepage = "https://objfw.nil.im";
|
|
license = lib.licenses.lgpl3;
|
|
maintainers = [ lib.maintainers.steeleduncan ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|