14 stdenv.mkDerivation (finalAttrs: {
15 pname = "the-foundation";
18 src = fetchFromGitea {
19 domain = "git.skyjake.fi";
21 repo = "the_Foundation";
22 rev = "v${finalAttrs.version}";
23 hash = "sha256-M3nG/926bz9US4R9cTyBw2n6oNy7VriGGzuHgRWX4eg=";
40 (lib.cmakeFeature "UNISTRING_DIR" "${libunistring}")
44 substituteInPlace "$out"/lib/pkgconfig/the_Foundation.pc \
45 --replace '="''${prefix}//' '="/'
49 description = "Opinionated C11 library for low-level functionality";
50 homepage = "https://git.skyjake.fi/skyjake/the_Foundation";
51 license = lib.licenses.bsd2;
52 maintainers = with lib.maintainers; [ sikmir ];
53 platforms = lib.platforms.unix;