evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / uplc / default.nix
blob6d7affece0c607f913b3265c7625f882a229c41d
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   # Python deps
6   frozenlist2,
7   python-secp256k1-cardano,
8   setuptools,
9   poetry-core,
10   frozendict,
11   cbor2,
12   rply,
13   pycardano,
16 buildPythonPackage rec {
17   pname = "uplc";
18   version = "1.0.7";
20   format = "pyproject";
22   src = fetchFromGitHub {
23     owner = "OpShin";
24     repo = "uplc";
25     rev = "refs/tags/${version}";
26     hash = "sha256-xK2k0XLybWqyP5Qa2Oby8YBgiiswR++yVK7NPgpdSa0=";
27   };
29   propagatedBuildInputs = [
30     setuptools
31     poetry-core
32     frozendict
33     cbor2
34     frozenlist2
35     rply
36     pycardano
37     python-secp256k1-cardano
38   ];
40   pythonImportsCheck = [ "uplc" ];
42   meta = with lib; {
43     description = "Python implementation of untyped plutus language core";
44     homepage = "https://github.com/OpShin/uplc";
45     license = licenses.mit;
46     maintainers = with maintainers; [ t4ccer ];
47     mainProgram = "opshin";
48   };