about summary refs log tree commit diff
path: root/pkgs/applications/audio/feishin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/feishin/default.nix')
-rw-r--r--pkgs/applications/audio/feishin/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/audio/feishin/default.nix b/pkgs/applications/audio/feishin/default.nix
new file mode 100644
index 0000000000000..f9a670dbfa3e7
--- /dev/null
+++ b/pkgs/applications/audio/feishin/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, stdenv
+, callPackage
+, ...
+}@args:
+
+let
+  extraArgs = removeAttrs args [ "callPackage" ];
+
+  pname = "feishin";
+  version = "0.2.0";
+  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; })