delfin: 0.4.0 -> 0.4.1

This commit is contained in:
Colin 2024-02-21 09:04:49 +00:00
parent 20cb850fb5
commit 60371585e4

View File

@ -21,22 +21,27 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "delfin"; pname = "delfin";
version = "0.4.0"; version = "0.4.1";
src = fetchFromGitea { src = fetchFromGitea {
domain = "codeberg.org"; domain = "codeberg.org";
owner = "avery42"; owner = "avery42";
repo = "delfin"; repo = "delfin";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-QwxdNPLL7PBokq5WaPylD4bBmXmJWyEQsWKN7DM2utk="; hash = "sha256-LBdHWEGz6dujcF3clrJbViohgiBTyWR7Y70totimVJ8=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-ElB9TbfmYn/A1Y3+oQ752zHqkC+f2RJPxfGXH0m5C/E="; hash = "sha256-TaUYqq4rkMBXhIM+0ZH6O0F+SUOpT1ImgLx2HCzJPrM=";
}; };
postPatch = ''
substituteInPlace delfin/Cargo.toml \
--replace-warn 'rust-version = "1.76.0"' 'rust-version = "1.75.0"'
'';
nativeBuildInputs = [ nativeBuildInputs = [
appstream appstream
desktop-file-utils desktop-file-utils