packages/tubefeeder: init at 1.9.6

This commit is contained in:
Max Headroom 2023-04-29 23:58:33 +02:00
parent 0a10b4aa57
commit 313a18bab1
2 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,57 @@
{ stdenv
, desktop-file-utils
, fetchFromGitHub
, gettext
, glib
, gtk4
, libadwaita
, meson
, ninja
, openssl
, pkg-config
, python3
, rustPlatform
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "tubefeeder";
version = "1.9.6";
src = fetchFromGitHub {
owner = "Tubefeeder";
repo = "Tubefeeder";
rev = "v${version}";
sha256 = "sha256-QB+LGSHwbJWGRx+jsS23B8r6Z43pdh1ECKv2HAb6z8Y=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-lSaT7k64MKl6WydLDxgxz4Q4QiX0wxHe6vmJ/c4f/Y0=";
};
nativeBuildInputs = [
desktop-file-utils
gettext
meson
ninja
pkg-config
python3
rustPlatform.rust.cargo
rustPlatform.cargoSetupHook
rustPlatform.rust.rustc
wrapGAppsHook
];
buildInputs = [
glib
gtk4
libadwaita
openssl
];
postPatch = ''
patchShebangs build-aux/meson_post_install.py
'';
}

View file

@ -72,6 +72,8 @@ in
steam-metro-skin = import ./data/misc/steam-metro-skin { inherit (pkgs) fetchzip; };
tubefeeder = pkgs.callPackage ./apps/tubefeeder { };
ungoogled-chromium = sandbox ./nixpak/ungoogled-chromium { };
vaults = pkgs.callPackage ./apps/vaults { };