Merge pull request #99663 from sumnerevans/sublime-music-metadata
This commit is contained in:
commit
682e8ac409
|
@ -9211,6 +9211,12 @@
|
||||||
githubId = 65870;
|
githubId = 65870;
|
||||||
name = "Сухарик";
|
name = "Сухарик";
|
||||||
};
|
};
|
||||||
|
sumnerevans = {
|
||||||
|
email = "me@sumnerevans.com";
|
||||||
|
github = "sumnerevans";
|
||||||
|
githubId = 16734772;
|
||||||
|
name = "Sumner Evans";
|
||||||
|
};
|
||||||
superbo = {
|
superbo = {
|
||||||
email = "supernbo@gmail.com";
|
email = "supernbo@gmail.com";
|
||||||
github = "SuperBo";
|
github = "SuperBo";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
{ fetchFromGitLab, lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||||
, chromecastSupport ? false
|
, chromecastSupport ? false
|
||||||
, serverSupport ? false
|
, serverSupport ? false
|
||||||
, keyringSupport ? true
|
, keyringSupport ? true
|
||||||
|
@ -8,11 +8,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "sublime-music";
|
pname = "sublime-music";
|
||||||
version = "0.11.7";
|
version = "0.11.10";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = fetchFromGitLab {
|
||||||
inherit pname version;
|
owner = "sublime-music";
|
||||||
sha256 = "1x6b02gw46gp6qcgv67j7k3gr1dpfczbyma6dxanag8pnpqrj8qi";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1g78gmiywg07kaywfc9q0yab2bzxs936vb3157ni1z0flbmcwrry";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -30,6 +32,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
;
|
;
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
bleach
|
||||||
dataclasses-json
|
dataclasses-json
|
||||||
deepdiff
|
deepdiff
|
||||||
fuzzywuzzy
|
fuzzywuzzy
|
||||||
|
@ -52,12 +55,22 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
doCheck = false;
|
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; {
|
meta = with lib; {
|
||||||
description = "GTK3 Subsonic/Airsonic client";
|
description = "GTK3 Subsonic/Airsonic client";
|
||||||
homepage = "https://sublimemusic.app/";
|
homepage = "https://sublimemusic.app/";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ albakham ];
|
maintainers = with maintainers; [ albakham sumnerevans ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue