2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
poetry-core,
|
|
|
|
crossandra,
|
|
|
|
dahlia,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "samarium";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.6.2";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "samarium-lang";
|
|
|
|
repo = "samarium";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
build-system = [ poetry-core ];
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [ crossandra dahlia ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "https://github.com/samarium-lang/samarium/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
description = "The Samarium Programming Language";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://samarium-lang.github.io/Samarium";
|
|
|
|
maintainers = with maintainers; [ sigmanificient ];
|
|
|
|
};
|
|
|
|
}
|