Files
nixpkgs/pkgs/by-name/ta/tartan/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.2 KiB
Nix

{
stdenv,
lib,
fetchFromGitLab,
meson,
ninja,
pkg-config,
llvmPackages,
gobject-introspection,
glib,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "tartan";
version = "0.3.0-unstable-2025-01-07";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "tartan";
repo = "tartan";
rev = "983aaf238946ced55da8824c1170a254992d9717";
hash = "sha256-4w9cAs6kA+RAmi2CC+5CHB1UWC+7zkBqvZlHAdgENu4=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
gobject-introspection
glib
llvmPackages.libclang
llvmPackages.libllvm
];
passthru = {
updateScript = unstableGitUpdater {
# The updater tries src.url by default, which does not exist for fetchFromGitLab (fetchurl).
url = "https://gitlab.freedesktop.org/tartan/tartan.git";
};
};
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
description = "Tools and Clang plugins for developing code with GLib";
homepage = "https://gitlab.freedesktop.org/tartan/tartan";
changelog = "https://gitlab.freedesktop.org/tartan/tartan/-/blob/main/NEWS";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ jtojnar ];
};
}