Commit fe399695 authored by Colin's avatar Colin
Browse files

delfin: 0.3.0 -> 0.4.0

release notes: <https://codeberg.org/avery42/delfin/releases/tag/v0.4.0>
of note:
- UI improvements
- translation updates
- added keyboard shortcuts
- client now reports play/pause status to the server
parent 37377f6e
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -21,29 +21,22 @@

stdenv.mkDerivation rec {
  pname = "delfin";
  version = "0.3.0";
  version = "0.4.0";

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "avery42";
    repo = "delfin";
    rev = "v${version}";
    hash = "sha256-1Q3Aywf80CCXxorWSymwxJwMU1I4k7juDoWG5J18AXY=";
    hash = "sha256-QwxdNPLL7PBokq5WaPylD4bBmXmJWyEQsWKN7DM2utk=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    name = "${pname}-${version}";
    hash = "sha256-/RZD4b7hrbC1Z5MtHDdib5TFEmxAh9odjNPo4m+FqK4=";
    hash = "sha256-ElB9TbfmYn/A1Y3+oQ752zHqkC+f2RJPxfGXH0m5C/E=";
  };

  # upstream pinned the linker to clang/mold through 0.3.0, unnecessarily.
  # remove this patch for version > 0.3.0.
  # see: <https://codeberg.org/avery42/delfin/commit/e6deee77e9a6a6ba2425d1cc88dcbdeb471d1fdc>
  postPatch = ''
    rm .cargo/config.toml
  '';

  nativeBuildInputs = [
    appstream
    desktop-file-utils