Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pluthon / default.nix
blob1ff7d0530002352b545b309b6eb949b12e07c08b
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , setuptools
5 , pythonOlder
6 # Python deps
7 , uplc
8 , graphlib-backport
9 , ordered-set
12 buildPythonPackage rec {
13   pname = "pluthon";
14   version = "0.4.6";
16   format = "pyproject";
18   src = fetchFromGitHub {
19     owner = "OpShin";
20     repo = "pluthon";
21     rev = version;
22     hash = "sha256-ZmBkbglSbBfVhA4yP0tJdwpJiFpJ7vX0A321ldQF0lA=";
23   };
25   propagatedBuildInputs = [
26     setuptools
27     uplc
28     ordered-set
29   ] ++ lib.optional (pythonOlder "3.9") graphlib-backport;
31   pythonImportsCheck = [ "pluthon" ];
33   meta = with lib; {
34     description = "Pluto-like programming language for Cardano Smart Contracts in Python";
35     homepage = "https://github.com/OpShin/pluthon";
36     license = licenses.mit;
37     maintainers = with maintainers; [ t4ccer ];
38   };