mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
citations: 0.5.1 -> 0.5.2
This commit is contained in:
parent
2a59d43096
commit
07855a0c46
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
|
, 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";
|
||||||
|
Loading…
Reference in New Issue
Block a user