diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 760fbc264d22..07bfe34b0cd4 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13182,6 +13182,12 @@ githubId = 74221543; name = "Moritz Goltdammer"; }; + linuxmobile = { + email = "bdiez19@gmail.com"; + github = "linuxmobile"; + githubId = 10554636; + name = "Braian A. Diez"; + }; lionello = { email = "lio@lunesu.com"; github = "lionello"; 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"; + }; +}