Merge pull request #243411 from linsui/citations

citations: 0.5.1 -> 0.5.2
This commit is contained in:
Nick Cao 2023-07-14 20:05:18 -06:00 committed by GitHub
commit b8be1cd02e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";