depot/third_party/nixpkgs/pkgs/by-name/ca/cassette/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

70 lines
1.2 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, blueprint-compiler
, desktop-file-utils
, meson
, ninja
, pkg-config
, vala
, wrapGAppsHook4
, glib-networking
, gst_all_1
, gtk4
, json-glib
, libadwaita
, libgee
, libsoup_3
, libxml2
, sqlite
, webkitgtk_6_0
}:
stdenv.mkDerivation rec {
pname = "cassette";
version = "0.2.0";
src = fetchFromGitHub {
owner = "Rirusha";
repo = "Cassette";
rev = "ver-${version}";
hash = "sha256-x9BRoLXrCO/7pI392MbO6m39rmpiOdCcp+pOLG6+k/s=";
};
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
meson
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
glib-networking
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gstreamer
gtk4
json-glib
libadwaita
libgee
libsoup_3
libxml2
sqlite
webkitgtk_6_0
];
strictDeps = true;
meta = {
description = "GTK4/Adwaita application that allows you to use Yandex Music service on Linux operating systems";
homepage = "https://github.com/Rirusha/Cassette";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ averyanalex ];
platforms = lib.platforms.linux;
mainProgram = "cassette";
};
}