mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
kooha: 2.0.1 -> 2.2.2
This commit is contained in:
parent
298e0a1b76
commit
90b6f0d20a
@ -4,8 +4,8 @@
|
|||||||
, appstream-glib
|
, appstream-glib
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, glib
|
, glib
|
||||||
, gobject-introspection
|
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
|
, pipewire
|
||||||
, gtk4
|
, gtk4
|
||||||
, libadwaita
|
, libadwaita
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
@ -13,27 +13,26 @@
|
|||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, python3
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, wayland
|
, wayland
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook4
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kooha";
|
pname = "kooha";
|
||||||
version = "2.0.1";
|
version = "2.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SeaDve";
|
owner = "SeaDve";
|
||||||
repo = "Kooha";
|
repo = "Kooha";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "05ynpwjdpl7zp9f17zhhvb59rbz3gd7hc0amla1g85ldgfxbgl00";
|
hash = "sha256-HgouIMbwpmR/K1hPU7QDzeEtyi5hC66huvInkJFLS2w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256:16zf6vb001z7xdv2g4kpmb2vqsmaql2cpsx1rl9zrfhpl2z6frs9";
|
hash = "sha256-rdxD9pys11QcUtufcZ/zCrviytyc8hIXJfsXg2JoaKE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -41,18 +40,15 @@ stdenv.mkDerivation rec {
|
|||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
python3
|
|
||||||
pkg-config
|
pkg-config
|
||||||
rustPlatform.cargoSetupHook
|
rustPlatform.cargoSetupHook
|
||||||
rustPlatform.rust.cargo
|
rustPlatform.rust.cargo
|
||||||
rustPlatform.rust.rustc
|
rustPlatform.rust.rustc
|
||||||
wayland
|
wrapGAppsHook4
|
||||||
wrapGAppsHook
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
gobject-introspection
|
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
gst_all_1.gst-plugins-ugly
|
gst_all_1.gst-plugins-ugly
|
||||||
@ -60,18 +56,10 @@ stdenv.mkDerivation rec {
|
|||||||
libadwaita
|
libadwaita
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
librsvg
|
librsvg
|
||||||
|
wayland
|
||||||
|
pipewire
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ python3.pkgs.pygobject3 ];
|
|
||||||
|
|
||||||
strictDeps = false;
|
|
||||||
|
|
||||||
# Fixes https://github.com/NixOS/nixpkgs/issues/31168
|
|
||||||
postPatch = ''
|
|
||||||
patchShebangs build-aux/meson_post_install.py
|
|
||||||
substituteInPlace meson.build --replace '>= 1.0.0-alpha.1' '>= 1.0.0'
|
|
||||||
'';
|
|
||||||
|
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
$out/bin/kooha --help
|
$out/bin/kooha --help
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user