3
0
Fork 0
forked from mirrors/nixpkgs

tartan: init at unstable-2021-12-23

You need clang-analyzer before clang in `PATH` since the latter’s scan-build program will not be able to find ccc-analyzer program.
https://github.com/NixOS/nixpkgs/issues/151367
This commit is contained in:
Jan Tojnar 2021-12-19 06:51:49 +01:00
parent a2e281f577
commit 8ed0d2440f
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,52 @@
{ stdenv
, lib
, fetchFromGitLab
, meson
, ninja
, pkg-config
, llvmPackages
, gobject-introspection
, glib
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
pname = "tartan";
version = "unstable-2021-12-23";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "tartan";
repo = "tartan";
rev = "bd4ea95d8b3ce1258491e9fac7fcc37d2b241a16";
sha256 = "l3duPt8Kh/JljzOV+Dm26XbS7gZ+mmFfYUYofWSJRyo=";
};
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; {
description = "Tools and Clang plugins for developing code with GLib";
homepage = "https://freedesktop.org/wiki/Software/tartan";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ jtojnar ];
};
}

View file

@ -9994,6 +9994,8 @@ with pkgs;
tarssh = callPackage ../servers/tarssh { };
tartan = callPackage ../development/tools/analysis/tartan {};
tartube = callPackage ../applications/video/tartube { };
tartube-yt-dlp = callPackage ../applications/video/tartube {