diff options
author | figsoda | 2023-06-04 22:32:56 -0400 |
---|---|---|
committer | figsoda | 2023-06-04 22:32:56 -0400 |
commit | 0427c4cc090657c7315febd38bc40eebdd21f754 (patch) | |
tree | 3e6f928d8d3eea851604c99c2d582755f551e58e /pkgs/development/tools/argc | |
parent | 7409480d5c8584a1a83c422530419efe4afb0d19 (diff) |
argc: 1.2.0 -> 1.3.0
Diff: https://github.com/sigoden/argc/compare/v1.2.0...v1.3.0 Changelog: https://github.com/sigoden/argc/releases/tag/v1.3.0
Diffstat (limited to 'pkgs/development/tools/argc')
-rw-r--r-- | pkgs/development/tools/argc/default.nix | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/pkgs/development/tools/argc/default.nix b/pkgs/development/tools/argc/default.nix index 853030a025f8..94ab17e4eed2 100644 --- a/pkgs/development/tools/argc/default.nix +++ b/pkgs/development/tools/argc/default.nix @@ -2,31 +2,20 @@ , rustPlatform , fetchFromGitHub , installShellFiles -, fetchpatch }: rustPlatform.buildRustPackage rec { pname = "argc"; - version = "1.2.0"; + version = "1.3.0"; src = fetchFromGitHub { owner = "sigoden"; repo = pname; rev = "v${version}"; - hash = "sha256-sJINgB1cGtqLPl2RmwgChwnSrJL5TWu5AU6hfLhvmE4="; + hash = "sha256-mcJAtcGVqOQNafGu59QNcABvNNkImQ2qydZylf3a2Qs="; }; - cargoHash = "sha256-HrmqARhEKlAjrW6QieVEEKkfda6R69oLcG/6fd3rvWM="; - - patches = [ - # tests make the assumption that the compiled binary is in target/debug, - # which fails since `cargoBuildHook` uses `--release` and `--target` - (fetchpatch { - name = "fix-tests-with-release-or-target"; - url = "https://github.com/sigoden/argc/commit/a4f2db46e27cad14d3251ef0b25b6f2ea9e70f0e.patch"; - hash = "sha256-bsHSo11/RVstyzdg0BKFhjuWUTLdKO4qsWIOjTTi+HQ="; - }) - ]; + cargoHash = "sha256-Q7jL+9EwHD0HcRpS6SQ2M625z2h/eA7cUF60zDpekZY="; nativeBuildInputs = [ installShellFiles ]; |