citations: 0.5.1 -> 0.5.2

This commit is contained in:
linsui 2023-07-14 14:32:49 +08:00
parent 2a59d43096
commit 07855a0c46
2 changed files with 525 additions and 451 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,23 +17,25 @@
, stdenv
, testers
, wrapGAppsHook4
, clippy
}:
stdenv.mkDerivation (finalAttrs: {
pname = "citations";
version = "0.5.1";
version = "0.5.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = finalAttrs.pname;
rev = finalAttrs.version;
hash = "sha256-QPK6Nw0tDdttUDFKMgThTYMTxGXsn5OReqf1LNAai7g=";
hash = "sha256-QofsVqulFMiyYKci2vHdQAUJoIIgnPyTRizoBDvYG+g=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"nom-bibtex-0.3.0" = "sha256-Dy7xauwXGnMtK/w/T5gZgqJ8fPyyd/FfZTLjvwMODFI=";
"nom-bibtex-0.4.0" = "sha256-hulMoH3gkhD2HurrXdIqqkfKkZGujV9We0m0jsgHFfM=";
};
};
@ -62,6 +64,12 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
nativeCheckInputs = [ clippy ];
preCheck = ''
sed -i -e '/PATH=/d' ../src/meson.build
'';
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "citations --help";