mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #99663 from sumnerevans/sublime-music-metadata
This commit is contained in:
commit
682e8ac409
@ -9211,6 +9211,12 @@
|
||||
githubId = 65870;
|
||||
name = "Сухарик";
|
||||
};
|
||||
sumnerevans = {
|
||||
email = "me@sumnerevans.com";
|
||||
github = "sumnerevans";
|
||||
githubId = 16734772;
|
||||
name = "Sumner Evans";
|
||||
};
|
||||
superbo = {
|
||||
email = "supernbo@gmail.com";
|
||||
github = "SuperBo";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||
{ fetchFromGitLab, lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||
, chromecastSupport ? false
|
||||
, serverSupport ? false
|
||||
, keyringSupport ? true
|
||||
@ -8,11 +8,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "sublime-music";
|
||||
version = "0.11.7";
|
||||
version = "0.11.10";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1x6b02gw46gp6qcgv67j7k3gr1dpfczbyma6dxanag8pnpqrj8qi";
|
||||
src = fetchFromGitLab {
|
||||
owner = "sublime-music";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1g78gmiywg07kaywfc9q0yab2bzxs936vb3157ni1z0flbmcwrry";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -30,6 +32,7 @@ python3Packages.buildPythonApplication rec {
|
||||
;
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
bleach
|
||||
dataclasses-json
|
||||
deepdiff
|
||||
fuzzywuzzy
|
||||
@ -52,12 +55,22 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "sublime" ];
|
||||
pythonImportsCheck = [ "sublime_music" ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 sublime-music.desktop -t $out/share/applications
|
||||
install -Dm444 sublime-music.metainfo.xml -t $out/share/metainfo
|
||||
|
||||
for size in 16 22 32 48 64 72 96 128 192 512 1024; do
|
||||
install -Dm444 logo/rendered/"$size".png \
|
||||
$out/share/icons/hicolor/"$size"x"$size"/apps/sublime-music.png
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTK3 Subsonic/Airsonic client";
|
||||
homepage = "https://sublimemusic.app/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ albakham ];
|
||||
maintainers = with maintainers; [ albakham sumnerevans ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user