mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #315139 from DSeeLP/finamp
finamp: init at 0.9.8-beta
This commit is contained in:
commit
dbb0ec2270
@ -5395,6 +5395,11 @@
|
||||
githubId = 5596239;
|
||||
keys = [ { fingerprint = "62BC E2BD 49DF ECC7 35C7 E153 875F 2BCF 163F 1B29"; } ];
|
||||
};
|
||||
dseelp = {
|
||||
name = "dsee";
|
||||
github = "DSeeLP";
|
||||
githubId = 46624152;
|
||||
};
|
||||
dsferruzza = {
|
||||
email = "david.sferruzza@gmail.com";
|
||||
github = "dsferruzza";
|
||||
|
71
pkgs/by-name/fi/finamp/package.nix
Normal file
71
pkgs/by-name/fi/finamp/package.nix
Normal file
@ -0,0 +1,71 @@
|
||||
{ lib
|
||||
, flutter322
|
||||
, mpv-unwrapped
|
||||
, xdg-user-dirs
|
||||
, patchelf
|
||||
, fetchFromGitHub
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
}:
|
||||
let
|
||||
version = "0.9.8-beta";
|
||||
in
|
||||
flutter322.buildFlutterApplication {
|
||||
inherit version;
|
||||
pname = "finamp";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jmshrv";
|
||||
repo = "finamp";
|
||||
rev = version;
|
||||
hash = "sha256-lvjhA+hdCXgDsrNhNw4Tiq6ZgkYlPuMeHha8OJNF1TI=";
|
||||
};
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
|
||||
nativeBuildInputs = [ patchelf copyDesktopItems ];
|
||||
buildInputs = [ mpv-unwrapped ];
|
||||
|
||||
gitHashes = {
|
||||
balanced_text = "sha256-lSDR5dDjZ4garRbBPI+wSxC5iScg8wVSD5kymmLbYbk=";
|
||||
isar_generator = "sha256-lWnHmZmYx7qDG6mzyDqYt+Xude2xVOH1VW+BoDCas60=";
|
||||
media_kit_libs_windows_audio = "sha256-p3hRq79whLFJLNUgL9atXyTGvOIqCbTRKVk1ie0Euqs=";
|
||||
palette_generator = "sha256-mnRJf3asu1mm9HYU8U0di+qRk3SpNFwN3S5QxChpIA0=";
|
||||
split_view = "sha256-unTJQDXUUPVDudlk0ReOPNYrsyEpbd/UMg1tHZsmg+k=";
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
patchelf $out/app/finamp --add-needed libisar.so --add-needed libmpv.so --add-rpath ${lib.makeLibraryPath [ mpv-unwrapped ]}
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 $src/assets/icon/icon_foreground.svg $out/share/icons/hicolor/scalable/apps/finamp.svg
|
||||
'';
|
||||
|
||||
extraWrapProgramArgs = ''
|
||||
--prefix PATH : ${lib.makeBinPath [ xdg-user-dirs ]}
|
||||
'';
|
||||
|
||||
desktopItems = [(makeDesktopItem {
|
||||
name = "Finamp";
|
||||
desktopName = "Finamp";
|
||||
genericName = "Music Player";
|
||||
exec = "finamp";
|
||||
icon = "finamp";
|
||||
startupWMClass = "finamp";
|
||||
comment = "An open source Jellyfin music player";
|
||||
categories = [
|
||||
"AudioVideo"
|
||||
"Audio"
|
||||
"Player"
|
||||
"Music"
|
||||
];
|
||||
})];
|
||||
|
||||
meta = {
|
||||
description = "Open source Jellyfin music player";
|
||||
homepage = "https://github.com/jmshrv/finamp";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ dseelp ];
|
||||
mainProgram = "finamp";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
2093
pkgs/by-name/fi/finamp/pubspec.lock.json
Normal file
2093
pkgs/by-name/fi/finamp/pubspec.lock.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user