mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
gobject-introspection,
|
|
wrapGAppsHook4,
|
|
desktop-file-utils,
|
|
libadwaita,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "plattenalbum";
|
|
version = "2.1.1";
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SoongNoonien";
|
|
repo = "plattenalbum";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-M4WjRQQYu8ixUYV6LgiyAPyvCS1Vk+UpLq/Sek0qBlw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
gobject-introspection
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [ libadwaita ];
|
|
|
|
dependencies = with python3Packages; [
|
|
pygobject3
|
|
mpd2
|
|
];
|
|
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
makeWrapperArgs+=(''${gappsWrapperArgs[@]})
|
|
'';
|
|
|
|
meta = {
|
|
description = "Client for the Music Player Daemon (originally named mpdevil)";
|
|
homepage = "https://github.com/SoongNoonien/plattenalbum";
|
|
changelog = "https://github.com/SoongNoonien/plattenalbum/releases/tag/v${version}";
|
|
license = with lib.licenses; [
|
|
gpl3Only
|
|
cc0
|
|
];
|
|
mainProgram = "plattenalbum";
|
|
maintainers = with lib.maintainers; [ aleksana ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|