From 036dea4e0d50c1412e573090b2a3b0481b800264 Mon Sep 17 00:00:00 2001 From: "Braian A. Diez" Date: Mon, 20 Jan 2025 11:51:17 -0300 Subject: [PATCH] fum: init at 0.4.3 --- pkgs/by-name/fu/fum/package.nix | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pkgs/by-name/fu/fum/package.nix diff --git a/pkgs/by-name/fu/fum/package.nix b/pkgs/by-name/fu/fum/package.nix new file mode 100644 index 000000000000..88766c821601 --- /dev/null +++ b/pkgs/by-name/fu/fum/package.nix @@ -0,0 +1,46 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + autoPatchelfHook, + stdenv, + openssl, + dbus, + pkg-config, + libgcc, +}: +rustPlatform.buildRustPackage rec { + pname = "fum"; + version = "0.4.3"; + + src = fetchFromGitHub { + owner = "qxb3"; + repo = "fum"; + tag = "v${version}"; + hash = "sha256-VRcQWwO80xFn5A21yjRsGqnnWkhWfsJxxEiw78NWJPM="; + }; + + cargoHash = "sha256-GW3/SqQlEUTMtvOgnMGhcREOHz/V2qtjtCAzFFKMNb4="; + + nativeBuildInputs = [ + autoPatchelfHook + pkg-config + ]; + + buildInputs = [ + openssl + dbus + libgcc + ]; + + doCheck = false; + + meta = { + description = "Fully ricable tui-based music client"; + homepage = "https://github.com/qxb3/fum"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ linuxmobile ]; + platforms = lib.platforms.linux; + mainProgram = "fum"; + }; +}