Unverified Commit a6273c12 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #331332 from t4ccer/t4/opshin/0.22.0

opshin: 0.21.2 -> 0.22.0
parents 0da03f48 0764ddb0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@

python3.pkgs.buildPythonApplication rec {
  pname = "opshin";
  version = "0.21.2";
  version = "0.22.0";

  format = "pyproject";

@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
    owner = "OpShin";
    repo = "opshin";
    rev = version;
    hash = "sha256-YBdYF04iKUwIZncqyEDalU+YN6/qwlx/vQDzZ19GaPU=";
    hash = "sha256-ixA5D7Bm/tjYEFhqaJ4sKkCkqQZpDyrwfD/LgN6Y4Uo=";
  };

  propagatedBuildInputs = with python3.pkgs; [
+2 −12
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch2,
  buildPythonPackage,
  setuptools,
  pythonOlder,
@@ -13,7 +12,7 @@

buildPythonPackage rec {
  pname = "pluthon";
  version = "0.5.3";
  version = "1.0.0";

  format = "pyproject";

@@ -21,18 +20,9 @@ buildPythonPackage rec {
    owner = "OpShin";
    repo = "pluthon";
    rev = version;
    hash = "sha256-pX/XPZJQZaSY06nLLEvhf+1LEqYG3CdgPV/3Q6XOzTs=";
    hash = "sha256-IYpkb/RXRu53HoeVKik7Jog5FyXwrWItrxSla9dN0s4=";
  };

  patches = [
    (fetchpatch2 {
      name = "pluthon-bump-uplc.patch";
      # https://github.com/OpShin/pluthon/pull/21
      url = "https://github.com/OpShin/pluthon/commit/4b0a40223f253643056cab12231264c5beffc666.patch?full_index=1";
      hash = "sha256-dO9JaIpkugZFKsr3Hd0cFCy7K+cmf77UfrdkZ+sGQtA=";
    })
  ];

  propagatedBuildInputs = [
    setuptools
    uplc
+2 −2
Original line number Diff line number Diff line
@@ -9,14 +9,14 @@

buildPythonPackage rec {
  pname = "rply";
  version = "0.7.7";
  version = "0.7.8";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "alex";
    repo = "rply";
    rev = "v${version}";
    hash = "sha256-5uINDCX4Jr4bSSwqBjvkS3f5wTMnZvsRGq1DeCw8Y+M=";
    hash = "sha256-mO/wcIsDIBjoxUsFvzftj5H5ziJijJcoyrUk52fcyE4=";
  };

  propagatedBuildInputs = [ appdirs ];
+3 −8
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

buildPythonPackage rec {
  pname = "uplc";
  version = "1.0.4";
  version = "1.0.6";

  format = "pyproject";

@@ -23,7 +23,7 @@ buildPythonPackage rec {
    owner = "OpShin";
    repo = "uplc";
    rev = version;
    hash = "sha256-Mio6VVgQKy1GMeHNk0DITks9Nhr3lA1t7zewu9734j4=";
    hash = "sha256-FQH2GE6ihLcHtEavAYFPr8xsRqnUROtZ8yyIfRbY9CQ=";
  };

  propagatedBuildInputs = [
@@ -37,16 +37,11 @@ buildPythonPackage rec {
    python-secp256k1-cardano
  ];

  pythonRelaxDeps = [
    "pycardano"
    "rply"
  ];

  pythonImportsCheck = [ "uplc" ];

  meta = with lib; {
    description = "Python implementation of untyped plutus language core";
    homepage = "https://opshin.dev";
    homepage = "https://github.com/OpShin/uplc";
    license = licenses.mit;
    maintainers = with maintainers; [ t4ccer ];
    mainProgram = "opshin";