mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
38 lines
732 B
Nix
38 lines
732 B
Nix
{ 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 = "Simple pythonic programming language for Smart Contracts on Cardano";
|
|
homepage = "https://opshin.dev";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ t4ccer ];
|
|
mainProgram = "opshin";
|
|
};
|
|
}
|