Compare commits

...

2 Commits

Author SHA1 Message Date
Harsh Shandilya 1b967200c2 nix: fix overlays config 2024-01-30 03:15:28 +05:30
Harsh Shandilya 3d26130801 pkgs: add tuba 2024-01-30 03:00:37 +05:30
4 changed files with 69 additions and 1 deletions

View File

@ -24,6 +24,7 @@ NixOS packages for personal use.
- [pidcat] : Fork of [JakeWharton's pidcat] with Python3 support and some other fixes
- [samply] : A command line profiler for macOS and Linux
- [tea] : Gitea CLI built from latest sources
- [tuba] : GNOME client for the Fediverse
- [twt] : Multipurpose tool to extract metadata from a user's tweets
- [when] : A CLI tool to deal with timezones
@ -50,6 +51,7 @@ NixOS packages for personal use.
[pidcat]: https://msfjarvis.dev/g/pidcat
[JakeWharton's pidcat]: https://github.com/JakeWharton/pidcat
[tea]: https://gitea.com/gitea/tea
[tuba]: https://github.com/GeopJr/Tuba
[twt]: https://msfjarvis.dev/g/twt
[samply]: https://github.com/mstange/samply/
[when]: https://github.com/mitsuhiko/when

View File

@ -32,7 +32,7 @@
};
in {
packages = eachSystem (system: packagesFn pkgs.${system});
overlays.default = packagesFn;
overlays.default = _: prev: packagesFn prev;
githubActions = nix-github-actions.lib.mkGithubMatrix {
checks = nixpkgs.lib.getAttrs ["x86_64-linux"] self.packages;
};

View File

@ -32,6 +32,7 @@ in {
rucksack = callPackage ./rucksack {};
samply = callPackage ./samply {};
tea-dev = callPackage ./tea-dev {};
tuba = callPackage ./tuba {};
twt = lib.warn "twt is no longer maintained" callPackage ./twt {};
when = callPackage ./when {};
}

65
pkgs/tuba/default.nix Normal file
View File

@ -0,0 +1,65 @@
{
lib,
stdenv,
fetchFromGitHub,
desktop-file-utils,
glib,
gtk4,
gtksourceview5,
json-glib,
libadwaita,
libgee,
libsecret,
libsoup_3,
libspelling,
libwebp,
libxml2,
meson,
ninja,
pkg-config,
vala,
wrapGAppsHook,
}:
stdenv.mkDerivation rec {
pname = "tuba";
version = "0.6.2";
src = fetchFromGitHub {
owner = "GeopJr";
repo = "Tuba";
rev = "v${version}";
hash = "sha256-SRK3I4sKJEaWBNs9VOs7Bhth/7gxybWpXJTn4DiQi6U=";
};
buildInputs = [
glib
gtk4
gtksourceview5
libadwaita
libgee
libsecret
libsoup_3
libspelling
libwebp
];
nativeBuildInputs = [
desktop-file-utils
json-glib
libxml2
meson
ninja
pkg-config
vala
wrapGAppsHook
];
meta = with lib; {
description = "Browse the Fediverse";
homepage = "https://github.com/GeopJr/Tuba";
license = licenses.gpl3Only;
maintainers = with maintainers; [msfjarvis];
mainProgram = "tuba";
platforms = platforms.all;
};
}