gnatcoll-{lzma,gmp,iconv,omp,python3,readline,syslog,zlib}: 22.0.0 -> 23.0.0

+2 -29
+2 -6
pkgs/development/libraries/ada/gnatcoll/bindings.nix
··· 33 33 34 34 stdenv.mkDerivation rec { 35 35 pname = "gnatcoll-${component}"; 36 - version = "22.0.0"; 36 + version = "23.0.0"; 37 37 38 38 src = fetchFromGitHub { 39 39 owner = "AdaCore"; 40 40 repo = "gnatcoll-bindings"; 41 41 rev = "v${version}"; 42 - sha256 = "0wbwnd6jccwfd4jdxbnzhc0jhm8ad4phz6y9b1gk8adykkk6jcz4"; 42 + sha256 = "1jnnfsvll4jh6ip0fww4mh2cm61h7dzpxz3zaa2psrc1w54x34nn"; 43 43 }; 44 - 45 - patches = [ 46 - ./omp-setup-text-mode.patch 47 - ]; 48 44 49 45 nativeBuildInputs = [ 50 46 gprbuild
-23
pkgs/development/libraries/ada/gnatcoll/omp-setup-text-mode.patch
··· 1 - commit 37c815ee660d1bf37256638d23b0346ad7cc19e7 2 - Author: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> 3 - Date: Wed Jul 21 00:18:30 2021 +0200 4 - 5 - omp/setup.py: open version_information in text mode 6 - 7 - Otherwise saving the config in setup_support.py will fail as a bytes 8 - object is not encodeable as JSON. Luckily, version_information is text 9 - anyways. 10 - 11 - diff --git a/omp/setup.py b/omp/setup.py 12 - index 942ab1f5..5281398e 100755 13 - --- a/omp/setup.py 14 - +++ b/omp/setup.py 15 - @@ -25,7 +25,7 @@ class GNATCollOMP(SetupApp): 16 - 17 - # Set library version 18 - with open(os.path.join(config.source_dir, '..', 19 - - 'version_information'), 'rb') as fd: 20 - + 'version_information'), 'r') as fd: 21 - version = fd.read().strip() 22 - config.set_data('GNATCOLL_VERSION', version, sub='gprbuild') 23 -