2024-07-10 23:34:23 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2024-07-11 08:57:21 +00:00
|
|
|
, blueprint-compiler
|
|
|
|
, desktop-file-utils
|
2024-07-10 23:34:23 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2024-07-11 08:57:21 +00:00
|
|
|
, vala
|
2024-07-10 23:34:23 +00:00
|
|
|
, wrapGAppsHook4
|
2024-07-11 08:57:21 +00:00
|
|
|
, glib-networking
|
|
|
|
, gst_all_1
|
2024-07-10 23:34:23 +00:00
|
|
|
, gtk4
|
|
|
|
, json-glib
|
2024-07-11 08:57:21 +00:00
|
|
|
, libadwaita
|
2024-07-10 23:34:23 +00:00
|
|
|
, libgee
|
2024-07-11 08:57:21 +00:00
|
|
|
, libsoup_3
|
2024-07-10 23:34:23 +00:00
|
|
|
, libxml2
|
2024-07-11 08:57:21 +00:00
|
|
|
, sqlite
|
2024-07-10 23:34:23 +00:00
|
|
|
, 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 = [
|
2024-07-11 08:57:21 +00:00
|
|
|
blueprint-compiler
|
|
|
|
desktop-file-utils
|
2024-07-10 23:34:23 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2024-07-11 08:57:21 +00:00
|
|
|
vala
|
2024-07-10 23:34:23 +00:00
|
|
|
wrapGAppsHook4
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-07-11 08:57:21 +00:00
|
|
|
glib-networking
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gstreamer
|
2024-07-10 23:34:23 +00:00
|
|
|
gtk4
|
|
|
|
json-glib
|
2024-07-11 08:57:21 +00:00
|
|
|
libadwaita
|
2024-07-10 23:34:23 +00:00
|
|
|
libgee
|
2024-07-11 08:57:21 +00:00
|
|
|
libsoup_3
|
2024-07-10 23:34:23 +00:00
|
|
|
libxml2
|
2024-07-11 08:57:21 +00:00
|
|
|
sqlite
|
2024-07-10 23:34:23 +00:00
|
|
|
webkitgtk_6_0
|
|
|
|
];
|
|
|
|
|
2024-07-11 09:11:24 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2024-07-11 08:57:21 +00:00
|
|
|
meta = {
|
2024-07-10 23:34:23 +00:00
|
|
|
description = "GTK4/Adwaita application that allows you to use Yandex Music service on Linux operating systems";
|
|
|
|
homepage = "https://github.com/Rirusha/Cassette";
|
2024-07-11 08:57:21 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ averyanalex ];
|
|
|
|
platforms = lib.platforms.linux;
|
2024-07-10 23:34:23 +00:00
|
|
|
mainProgram = "cassette";
|
|
|
|
};
|
|
|
|
}
|