mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
python3Packages.pluthon: init at 0.4.6
This commit is contained in:
parent
b7f2456a07
commit
f6d41f4b23
39
pkgs/development/python-modules/pluthon/default.nix
Normal file
39
pkgs/development/python-modules/pluthon/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
# Python deps
|
||||
, uplc
|
||||
, graphlib-backport
|
||||
, ordered-set
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pluthon";
|
||||
version = "0.4.6";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpShin";
|
||||
repo = "pluthon";
|
||||
rev = version;
|
||||
hash = "sha256-ZmBkbglSbBfVhA4yP0tJdwpJiFpJ7vX0A321ldQF0lA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
uplc
|
||||
ordered-set
|
||||
] ++ lib.optionals (pythonOlder "3.9") graphlib-backport;
|
||||
|
||||
pythonImportsCheck = [ "pluthon" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pluto-like programming language for Cardano Smart Contracts in Python";
|
||||
homepage = "https://github.com/OpShin/pluthon";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ t4ccer ];
|
||||
};
|
||||
}
|
@ -9816,6 +9816,8 @@ self: super: with self; {
|
||||
|
||||
plumbum = callPackage ../development/python-modules/plumbum { };
|
||||
|
||||
pluthon = callPackage ../development/python-modules/pluthon { };
|
||||
|
||||
plux = callPackage ../development/python-modules/plux { };
|
||||
|
||||
ply = callPackage ../development/python-modules/ply { };
|
||||
|
Loading…
Reference in New Issue
Block a user