mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #331332 from t4ccer/t4/opshin/0.22.0
opshin: 0.21.2 -> 0.22.0
This commit is contained in:
commit
a6273c12a1
@ -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; [
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
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
|
||||
|
@ -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 ];
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user