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 , stdenv
, testers , testers
, wrapGAppsHook4 , wrapGAppsHook4
, clippy
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "citations"; pname = "citations";
version = "0.5.1"; version = "0.5.2";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "World"; owner = "World";
repo = finalAttrs.pname; repo = finalAttrs.pname;
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-QPK6Nw0tDdttUDFKMgThTYMTxGXsn5OReqf1LNAai7g="; hash = "sha256-QofsVqulFMiyYKci2vHdQAUJoIIgnPyTRizoBDvYG+g=";
}; };
cargoDeps = rustPlatform.importCargoLock { cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { 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; doCheck = true;
nativeCheckInputs = [ clippy ];
preCheck = ''
sed -i -e '/PATH=/d' ../src/meson.build
'';
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage; package = finalAttrs.finalPackage;
command = "citations --help"; command = "citations --help";