Skip to content

Commit

Permalink
opshin: init at 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
t4ccer committed Mar 18, 2024
1 parent f6d41f4 commit b401506
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/op/opshin/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
pname = "opshin";
version = "0.20.0";

format = "pyproject";

src = fetchFromGitHub {
owner = "OpShin";
repo = "opshin";
rev = version;
hash = "sha256-fJlPeVAuEf80FVxdXnaKASLmjMEgz6ysXenUY72+sos=";
};

propagatedBuildInputs = with python3.pkgs; [
setuptools
poetry-core
uplc
pluthon
pycardano
frozenlist2
astunparse
ordered-set
];

meta = with lib; {
description = "A simple pythonic programming language for Smart Contracts on Cardano";
homepage = "https://opshin.dev";
license = licenses.mit;
maintainers = with maintainers; [ t4ccer ];
mainProgram = "opshin";
};
}

0 comments on commit b401506

Please sign in to comment.