blob: 993706665e087ef6b10ab06840711660583cc02d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
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";
};
}
|