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"; + }; +}