1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Merge pull request #328118 from t4ccer/t4/opshin/0.21.2

opshin: 0.20.0 -> 0.21.2
This commit is contained in:
Peder Bergebakken Sundt 2024-07-25 23:20:03 +02:00 committed by GitHub
commit a55eab8a5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 17 deletions

View file

@ -1,11 +1,12 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "opshin";
version = "0.20.0";
version = "0.21.2";
format = "pyproject";
@ -13,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "OpShin";
repo = "opshin";
rev = version;
hash = "sha256-fJlPeVAuEf80FVxdXnaKASLmjMEgz6ysXenUY72+sos=";
hash = "sha256-YBdYF04iKUwIZncqyEDalU+YN6/qwlx/vQDzZ19GaPU=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -27,6 +28,11 @@ python3.pkgs.buildPythonApplication rec {
ordered-set
];
pythonRelaxDeps = [
"pluthon"
"uplc"
];
meta = with lib; {
description = "Simple pythonic programming language for Smart Contracts on Cardano";
homepage = "https://opshin.dev";

View file

@ -3,20 +3,23 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
poetry-core,
}:
buildPythonPackage rec {
pname = "mnemonic";
version = "0.20";
format = "setuptools";
version = "0.21";
pyproject = true;
src = fetchFromGitHub {
owner = "trezor";
repo = "python-${pname}";
repo = "python-mnemonic";
rev = "v${version}";
hash = "sha256-YYgWlYfVd1iALOziaUI8uVYjJDCIVk/dXcUmJd2jcvQ=";
hash = "sha256-D1mS/JQhefYmwrShfWR9SdiGsBUM+jmuCkfWix9tDOU=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mnemonic" ];

View file

@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch2,
buildPythonPackage,
setuptools,
pythonOlder,
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "pluthon";
version = "0.4.6";
version = "0.5.3";
format = "pyproject";
@ -20,9 +21,18 @@ buildPythonPackage rec {
owner = "OpShin";
repo = "pluthon";
rev = version;
hash = "sha256-ZmBkbglSbBfVhA4yP0tJdwpJiFpJ7vX0A321ldQF0lA=";
hash = "sha256-pX/XPZJQZaSY06nLLEvhf+1LEqYG3CdgPV/3Q6XOzTs=";
};
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

View file

@ -7,6 +7,7 @@
cachetools,
cbor2,
cose,
docker,
ecpy,
frozendict,
frozenlist,
@ -33,7 +34,7 @@ let
in
buildPythonPackage rec {
pname = "pycardano";
version = "0.10.0";
version = "0.11.1";
format = "pyproject";
@ -41,15 +42,15 @@ buildPythonPackage rec {
owner = "Python-Cardano";
repo = "pycardano";
rev = "v${version}";
hash = "sha256-LP/W8IC2del476fGFq10VMWwMrbAoCCcZOngA8unBM0=";
hash = "sha256-OWm6ztt3s3DUbxDZqpvwTO6XwdY/57AI6Bc6x6kxH7k=";
};
propagatedBuildInputs = [
blockfrost-python
cachetools
cbor2
cose_0_9_dev8
docker
ecpy
frozendict
frozenlist

View file

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "uplc";
version = "0.6.9";
version = "1.0.4";
format = "pyproject";
@ -23,10 +23,9 @@ buildPythonPackage rec {
owner = "OpShin";
repo = "uplc";
rev = version;
hash = "sha256-djJMNXijMVzMVzw8NZSe3YFRGyAPqdvr0P374Za5XkU=";
hash = "sha256-Mio6VVgQKy1GMeHNk0DITks9Nhr3lA1t7zewu9734j4=";
};
propagatedBuildInputs = [
setuptools
poetry-core