mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
museeks: init at 0.13.1
This commit is contained in:
parent
0533be43f1
commit
6917409e3c
2 changed files with 40 additions and 0 deletions
38
pkgs/applications/audio/museeks/default.nix
Normal file
38
pkgs/applications/audio/museeks/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib, fetchurl, appimageTools }:
|
||||
|
||||
let
|
||||
pname = "museeks";
|
||||
version = "0.13.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/martpie/museeks/releases/download/${version}/museeks-x86_64.AppImage";
|
||||
hash = "sha256-LvunhCFmpv00TnXzWjp3kQUAhoKpmp6pqKgcaUqZV+o=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||
|
||||
mkdir -p $out/share/${pname}
|
||||
cp -a ${appimageContents}/{locales,resources} $out/share/${pname}
|
||||
cp -a ${appimageContents}/usr/share/icons $out/share/
|
||||
install -Dm 444 ${appimageContents}/${pname}.desktop -t $out/share/applications
|
||||
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple, clean and cross-platform music player";
|
||||
homepage = "https://github.com/martpie/museeks";
|
||||
license = licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ zendo ];
|
||||
};
|
||||
}
|
|
@ -36718,6 +36718,8 @@ with pkgs;
|
|||
|
||||
muse = libsForQt5.callPackage ../applications/audio/muse { };
|
||||
|
||||
museeks = callPackage ../applications/audio/museeks { };
|
||||
|
||||
musly = callPackage ../applications/audio/musly { };
|
||||
|
||||
mynewt-newt = callPackage ../tools/package-management/mynewt-newt { };
|
||||
|
|
Loading…
Reference in a new issue