python3Packages.uplc: init at 0.6.9
This commit is contained in:
parent
9f359348e1
commit
b7f2456a07
55
pkgs/development/python-modules/uplc/default.nix
Normal file
55
pkgs/development/python-modules/uplc/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, pythonRelaxDepsHook
|
||||
# Python deps
|
||||
, frozenlist2
|
||||
, python-secp256k1-cardano
|
||||
, setuptools
|
||||
, poetry-core
|
||||
, frozendict
|
||||
, cbor2
|
||||
, rply
|
||||
, pycardano
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uplc";
|
||||
version = "0.6.9";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpShin";
|
||||
repo = "uplc";
|
||||
rev = version;
|
||||
hash = "sha256-djJMNXijMVzMVzw8NZSe3YFRGyAPqdvr0P374Za5XkU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
poetry-core
|
||||
frozendict
|
||||
cbor2
|
||||
frozenlist2
|
||||
rply
|
||||
pycardano
|
||||
python-secp256k1-cardano
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "pycardano" "rply" ];
|
||||
|
||||
pythonImportsCheck = [ "uplc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of untyped plutus language core";
|
||||
homepage = "https://opshin.dev";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ t4ccer ];
|
||||
mainProgram = "opshin";
|
||||
};
|
||||
}
|
@ -15958,6 +15958,8 @@ self: super: with self; {
|
||||
|
||||
update-dotdee = callPackage ../development/python-modules/update-dotdee { };
|
||||
|
||||
uplc = callPackage ../development/python-modules/uplc { };
|
||||
|
||||
upnpy = callPackage ../development/python-modules/upnpy { };
|
||||
|
||||
uproot = callPackage ../development/python-modules/uproot { };
|
||||
|
Loading…
Reference in New Issue
Block a user