about summary refs log tree commit diff
path: root/pkgs/applications/audio/go-musicfox/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/go-musicfox/default.nix')
-rw-r--r--pkgs/applications/audio/go-musicfox/default.nix53
1 files changed, 0 insertions, 53 deletions
diff --git a/pkgs/applications/audio/go-musicfox/default.nix b/pkgs/applications/audio/go-musicfox/default.nix
deleted file mode 100644
index 243fa8fa1a2a..000000000000
--- a/pkgs/applications/audio/go-musicfox/default.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-{ lib
-, buildGoModule
-, fetchFromGitHub
-, pkg-config
-, flac
-, stdenv
-, alsa-lib
-, nix-update-script
-}:
-
-buildGoModule rec {
-  pname = "go-musicfox";
-  version = "4.5.3";
-
-  src = fetchFromGitHub {
-    owner = "go-musicfox";
-    repo = "go-musicfox";
-    rev = "v${version}";
-    hash = "sha256-qf4XAAfWWlHAnNGhXaYpnjj+2z+/lWOHaTyv8R4UDgQ=";
-  };
-
-  deleteVendor = true;
-
-  vendorHash = "sha256-oz/kVp/Jj2Lmo19UFOn2VPD/iWbSRCbmKy8fK8RdkYs=";
-
-  subPackages = [ "cmd/musicfox.go" ];
-
-  ldflags = [
-    "-s"
-    "-w"
-    "-X github.com/go-musicfox/go-musicfox/internal/types.AppVersion=${version}"
-  ];
-
-  nativeBuildInputs = [
-    pkg-config
-  ];
-
-  buildInputs = [
-    flac
-  ] ++ lib.optionals stdenv.isLinux [
-    alsa-lib
-  ];
-
-  passthru.updateScript = nix-update-script { };
-
-  meta = with lib; {
-    description = "Terminal netease cloud music client written in Go";
-    homepage = "https://github.com/anhoder/go-musicfox";
-    license = licenses.mit;
-    mainProgram = "musicfox";
-    maintainers = with maintainers; [ zendo Ruixi-rebirth aleksana ];
-  };
-}