mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
28 lines
822 B
Nix
28 lines
822 B
Nix
{ lib
|
|
, stdenv
|
|
, callPackage
|
|
, ...
|
|
}@args:
|
|
|
|
let
|
|
extraArgs = removeAttrs args [ "callPackage" ];
|
|
|
|
pname = "feishin";
|
|
version = "0.4.1";
|
|
appname = "Feishin";
|
|
|
|
meta = with lib; {
|
|
description = "Full-featured Subsonic/Jellyfin compatible desktop music player";
|
|
homepage = "https://github.com/jeffvli/feishin";
|
|
changelog = "https://github.com/jeffvli/feishin/releases/tag/v${version}";
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
license = licenses.mit;
|
|
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
|
|
in
|
|
if stdenv.isDarwin
|
|
then callPackage ./darwin.nix (extraArgs // { inherit pname appname version meta; })
|
|
else callPackage ./linux.nix (extraArgs // { inherit pname appname version meta; })
|