Merge pull request #243411 from linsui/citations
citations: 0.5.1 -> 0.5.2
This commit is contained in:
commit
b8be1cd02e
962
pkgs/applications/misc/citations/Cargo.lock
generated
962
pkgs/applications/misc/citations/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue