opshin: 0.24.1 -> 0.24.2 (#402433)

authored by Peder Bergebakken Sundt and committed by GitHub ff96e54b 5b630168

+51 -16
+15 -9
pkgs/by-name/op/opshin/package.nix
··· 4 python3, 5 }: 6 7 - python3.pkgs.buildPythonApplication rec { 8 pname = "opshin"; 9 - version = "0.24.1"; 10 11 format = "pyproject"; 12 ··· 14 owner = "OpShin"; 15 repo = "opshin"; 16 tag = version; 17 - hash = "sha256-+uuTEszA5p/qhvthM3Uje6yX3urbIUAKKfDZ4JXEYYQ="; 18 }; 19 20 - propagatedBuildInputs = with python3.pkgs; [ 21 setuptools 22 poetry-core 23 uplc ··· 26 frozenlist2 27 astunparse 28 ordered-set 29 - ]; 30 - 31 - pythonRelaxDeps = [ 32 - "pluthon" 33 - "uplc" 34 ]; 35 36 meta = with lib; {
··· 4 python3, 5 }: 6 7 + let 8 + python3' = python3.override { 9 + self = python3; 10 + packageOverrides = ( 11 + final: prev: { 12 + cbor2 = prev.cbor2WithoutCExtensions; 13 + } 14 + ); 15 + }; 16 + in 17 + 18 + python3'.pkgs.buildPythonApplication rec { 19 pname = "opshin"; 20 + version = "0.24.2"; 21 22 format = "pyproject"; 23 ··· 25 owner = "OpShin"; 26 repo = "opshin"; 27 tag = version; 28 + hash = "sha256-L0vWEXlghXssT9oUw5AYG3/4ALoB/NH90JV8Kdl2n30="; 29 }; 30 31 + propagatedBuildInputs = with python3'.pkgs; [ 32 setuptools 33 poetry-core 34 uplc ··· 37 frozenlist2 38 astunparse 39 ordered-set 40 ]; 41 42 meta = with lib; {
+10
pkgs/development/python-modules/cbor2/default.nix
··· 4 fetchPypi, 5 pythonOlder, 6 7 # build-system 8 setuptools, 9 setuptools-scm, ··· 38 pytest-cov-stub 39 pytestCheckHook 40 ]; 41 42 meta = with lib; { 43 changelog = "https://github.com/agronholm/cbor2/releases/tag/${version}";
··· 4 fetchPypi, 5 pythonOlder, 6 7 + withCExtensions ? true, 8 + 9 # build-system 10 setuptools, 11 setuptools-scm, ··· 40 pytest-cov-stub 41 pytestCheckHook 42 ]; 43 + 44 + env = lib.optionalAttrs (!withCExtensions) { 45 + CBOR2_BUILD_C_EXTENSION = "0"; 46 + }; 47 + 48 + passthru = { 49 + inherit withCExtensions; 50 + }; 51 52 meta = with lib; { 53 changelog = "https://github.com/agronholm/cbor2/releases/tag/${version}";
+2 -2
pkgs/development/python-modules/pluthon/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "pluthon"; 15 - version = "1.0.0"; 16 17 format = "pyproject"; 18 ··· 20 owner = "OpShin"; 21 repo = "pluthon"; 22 rev = version; 23 - hash = "sha256-IYpkb/RXRu53HoeVKik7Jog5FyXwrWItrxSla9dN0s4="; 24 }; 25 26 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "pluthon"; 15 + version = "1.1.0"; 16 17 format = "pyproject"; 18 ··· 20 owner = "OpShin"; 21 repo = "pluthon"; 22 rev = version; 23 + hash = "sha256-t8KWm2eBq6CzFPAWN9pgbpF62hvNNZWCpphJsY5T2OQ="; 24 }; 25 26 propagatedBuildInputs = [
+7 -3
pkgs/development/python-modules/pycardano/default.nix
··· 25 }: 26 27 let 28 - cose_0_9_dev8 = cose.overridePythonAttrs (old: rec { 29 version = "0.9.dev8"; 30 src = ( 31 old.src.override { ··· 38 in 39 buildPythonPackage rec { 40 pname = "pycardano"; 41 - version = "0.12.3"; 42 pyproject = true; 43 44 src = fetchFromGitHub { 45 owner = "Python-Cardano"; 46 repo = "pycardano"; 47 tag = "v${version}"; 48 - hash = "sha256-jxgskdQ7Us+utndUgFYK7G2IW/e5QbeXytOsxQfFiJI="; 49 }; 50 51 build-system = [ ··· 88 homepage = "https://github.com/Python-Cardano/pycardano"; 89 license = lib.licenses.mit; 90 maintainers = with lib.maintainers; [ t4ccer ]; 91 }; 92 }
··· 25 }: 26 27 let 28 + cose_0_9_dev8 = (cose.override { inherit cbor2; }).overridePythonAttrs (old: rec { 29 version = "0.9.dev8"; 30 src = ( 31 old.src.override { ··· 38 in 39 buildPythonPackage rec { 40 pname = "pycardano"; 41 + version = "0.14.0"; 42 pyproject = true; 43 44 src = fetchFromGitHub { 45 owner = "Python-Cardano"; 46 repo = "pycardano"; 47 tag = "v${version}"; 48 + hash = "sha256-W5N254tND7mI0oR82YhMFWn4zVVs3ygYOqXOBMO3sXY="; 49 }; 50 51 build-system = [ ··· 88 homepage = "https://github.com/Python-Cardano/pycardano"; 89 license = lib.licenses.mit; 90 maintainers = with lib.maintainers; [ t4ccer ]; 91 + # https://github.com/Python-Cardano/pycardano/blob/v0.13.2/Makefile#L26-L39 92 + # cbor2 with C extensions fail tests due to differences in used sized vs unsized arrays 93 + # more info: https://github.com/NixOS/nixpkgs/pull/402433#issuecomment-2916520286 94 + broken = cbor2.withCExtensions; # consider overriding cbor2 with cbor2WithoutCExtensions 95 }; 96 }
+13 -2
pkgs/development/python-modules/uplc/default.nix
··· 8 setuptools, 9 poetry-core, 10 frozendict, 11 cbor2, 12 rply, 13 pycardano, 14 }: 15 16 buildPythonPackage rec { 17 pname = "uplc"; 18 - version = "1.0.7"; 19 20 format = "pyproject"; 21 ··· 23 owner = "OpShin"; 24 repo = "uplc"; 25 tag = version; 26 - hash = "sha256-xK2k0XLybWqyP5Qa2Oby8YBgiiswR++yVK7NPgpdSa0="; 27 }; 28 29 propagatedBuildInputs = [ ··· 37 python-secp256k1-cardano 38 ]; 39 40 pythonImportsCheck = [ "uplc" ]; 41 42 meta = with lib; { 43 description = "Python implementation of untyped plutus language core";
··· 8 setuptools, 9 poetry-core, 10 frozendict, 11 + cbor2WithoutCExtensions, 12 cbor2, 13 rply, 14 pycardano, 15 + uplc, 16 }: 17 18 buildPythonPackage rec { 19 pname = "uplc"; 20 + version = "1.0.10"; 21 22 format = "pyproject"; 23 ··· 25 owner = "OpShin"; 26 repo = "uplc"; 27 tag = version; 28 + hash = "sha256-Owo4W4jChrdYnz11BbWQdm2SiwFwOJlqjYutuRyjpxs="; 29 }; 30 31 propagatedBuildInputs = [ ··· 39 python-secp256k1-cardano 40 ]; 41 42 + # Support cbor2 without C extensions 43 + postPatch = lib.optionalString (!cbor2.withCExtensions) '' 44 + substituteInPlace uplc/ast.py --replace-fail 'from _cbor2' 'from cbor2' 45 + ''; 46 + 47 pythonImportsCheck = [ "uplc" ]; 48 + 49 + passthru.tests.withoutCExtensions = uplc.override { 50 + cbor2 = cbor2WithoutCExtensions; 51 + }; 52 53 meta = with lib; { 54 description = "Python implementation of untyped plutus language core";
+4
pkgs/top-level/python-packages.nix
··· 2300 2301 cbor2 = callPackage ../development/python-modules/cbor2 { }; 2302 2303 cccolutils = callPackage ../development/python-modules/cccolutils { krb5-c = pkgs.krb5; }; 2304 2305 cdcs = callPackage ../development/python-modules/cdcs { };
··· 2300 2301 cbor2 = callPackage ../development/python-modules/cbor2 { }; 2302 2303 + cbor2WithoutCExtensions = callPackage ../development/python-modules/cbor2 { 2304 + withCExtensions = false; 2305 + }; 2306 + 2307 cccolutils = callPackage ../development/python-modules/cccolutils { krb5-c = pkgs.krb5; }; 2308 2309 cdcs = callPackage ../development/python-modules/cdcs { };