mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
libeufin: 0.11.3 -> 0.13.0
This commit is contained in:
parent
698716eb37
commit
e825dd48b5
1522
pkgs/by-name/li/libeufin/deps.json
generated
1522
pkgs/by-name/li/libeufin/deps.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,12 +14,12 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libeufin";
|
||||
version = "0.11.3";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.taler.net/libeufin.git/";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-6bMYcpxwL1UJXt0AX6R97C0Orwqb7E+TZO2Sz1qode8=";
|
||||
hash = "sha256-whGcFZYuyeFfhu+mIi7oUNJRXjaVGuL67sfUrHF85Fs=";
|
||||
fetchSubmodules = true;
|
||||
leaveDotGit = true; # required for correct submodule fetching
|
||||
# Delete .git folder for reproducibility (otherwise, the hash changes unexpectedly after fetching submodules)
|
||||
@ -39,15 +39,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace build.gradle \
|
||||
--replace-fail "commandLine 'git', 'rev-parse', '--short', 'HEAD'" 'commandLine "cat", "$projectDir/common/src/main/resources/HEAD.txt"'
|
||||
|
||||
# Gradle projects provide a .module metadata file as artifact. This artifact is used by gradle
|
||||
# to download dependencies to the cache when needed, but do not provide the jar for the
|
||||
# offline installation for our build phase. Since we make an offline Maven repo, we have to
|
||||
# substitute the gradle deps for their maven counterpart to retrieve the .jar artifacts.
|
||||
for dir in common bank nexus testbench; do
|
||||
substituteInPlace $dir/build.gradle \
|
||||
--replace-fail ':$ktor_version' '-jvm:$ktor_version' \
|
||||
--replace-fail ':$clikt_version' '-jvm:$clikt_version'
|
||||
done
|
||||
# Use gradle repo to download dependencies
|
||||
substituteInPlace build.gradle \
|
||||
--replace-fail 'mavenCentral()' "gradlePluginPortal()"
|
||||
|
||||
runHook postPatch
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user