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-hrwnY8m4xW8Sr2RunwD5VB+gnYUtZxXyGoiO3N23qGM=";
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;