Unverified Commit 705d5dbe authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

fum: init at 0.4.3 (#375329)

parents 30c615fd 12a78ac2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+46 −0
Original line number Diff line number Diff line
{
  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";
  };
}