nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 716 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 # Python deps 7 uplc, 8 ordered-set, 9}: 10 11buildPythonPackage rec { 12 pname = "pluthon"; 13 version = "1.3.5"; 14 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "OpShin"; 19 repo = "pluthon"; 20 tag = version; 21 hash = "sha256-9I4GLdaBxp1xG/3rFZvagugIhB0Vs21bMzPTI1/eKcE="; 22 }; 23 24 propagatedBuildInputs = [ 25 setuptools 26 uplc 27 ordered-set 28 ]; 29 30 pythonImportsCheck = [ "pluthon" ]; 31 32 meta = { 33 description = "Pluto-like programming language for Cardano Smart Contracts in Python"; 34 homepage = "https://github.com/OpShin/pluthon"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ aciceri ]; 37 }; 38}