summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-02-08 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-02-08 04:20:00 +0000
commit751b64d656a9447584255ad1c0b04becb18087bf (patch)
tree42ffd54506a46b550c28a5418d882bdb0d5890ed
parentMerge pull request #215733 from 9999years/nix-your-shell (diff)
downloadnixpkgs-751b64d656a9447584255ad1c0b04becb18087bf.tar.gz
ledger: 3.2.1 -> 3.3.0
https://github.com/ledger/ledger/releases/tag/v3.3.0
-rw-r--r--pkgs/applications/office/ledger/default.nix22
1 files changed, 3 insertions, 19 deletions
diff --git a/pkgs/applications/office/ledger/default.nix b/pkgs/applications/office/ledger/default.nix
index e885e03c1cd2..2c0ecf21a2e3 100644
--- a/pkgs/applications/office/ledger/default.nix
+++ b/pkgs/applications/office/ledger/default.nix
@@ -1,15 +1,15 @@
{ stdenv, lib, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python3
-, fetchpatch, installShellFiles, texinfo, gnused, usePython ? true }:
+, installShellFiles, texinfo, gnused, usePython ? true }:
stdenv.mkDerivation rec {
pname = "ledger";
- version = "3.2.1";
+ version = "3.3.0";
src = fetchFromGitHub {
owner = "ledger";
repo = "ledger";
rev = "v${version}";
- sha256 = "0x6jxwss3wwzbzlwmnwb8yzjk8f9wfawif4f1b74z2qg6hc4r7f6";
+ hash = "sha256-0hN6Hpmgwb3naV2K1fxX0OyH0IyCQAh1nZ9TMNAutic=";
};
outputs = [ "out" "dev" "py" ];
@@ -34,22 +34,6 @@ stdenv.mkDerivation rec {
--replace 'DESTINATION ''${Python_SITEARCH}' 'DESTINATION "${placeholder "py"}/${python3.sitePackages}"'
'';
- patches = [
- # Add support for $XDG_CONFIG_HOME. Remove with the next release
- (fetchpatch {
- url = "https://github.com/ledger/ledger/commit/c79674649dee7577d6061e3d0776922257520fd0.patch";
- sha256 = "sha256-vwVQnY9EUCXPzhDJ4PSOmQStb9eF6H0yAOiEmL6sAlk=";
- excludes = [ "doc/NEWS.md" ];
- })
-
- # Fix included bug with boost >= 1.76. Remove with the next release
- (fetchpatch {
- url = "https://github.com/ledger/ledger/commit/1cb9b84fdecc5604bd1172cdd781859ff3871a52.patch";
- sha256 = "sha256-ipVkRcTmnEvpfyPgMzLVJ9Sz8QxHeCURQI5dX8xh758=";
- excludes = [ "test/regress/*" ];
- })
- ];
-
installTargets = [ "doc" "install" ];
postInstall = ''