blob: 328d6272f3adb679f9389577a88f9b12d4621fc6 (
plain)
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
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
# Python deps
uplc,
ordered-set,
}:
buildPythonPackage rec {
pname = "pluthon";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "OpShin";
repo = "pluthon";
rev = version;
hash = "sha256-t8KWm2eBq6CzFPAWN9pgbpF62hvNNZWCpphJsY5T2OQ=";
};
propagatedBuildInputs = [
setuptools
uplc
ordered-set
];
pythonImportsCheck = [ "pluthon" ];
meta = {
description = "Pluto-like programming language for Cardano Smart Contracts in Python";
homepage = "https://github.com/OpShin/pluthon";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aciceri ];
};
}
|