1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 crossandra,
7 dahlia,
8}:
9
10buildPythonPackage rec {
11 pname = "samarium";
12 version = "0.6.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "samarium-lang";
17 repo = "samarium";
18 tag = version;
19 hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk=";
20 };
21
22 build-system = [ poetry-core ];
23 dependencies = [
24 crossandra
25 dahlia
26 ];
27
28 meta = with lib; {
29 changelog = "https://github.com/samarium-lang/samarium/blob/${src.rev}/CHANGELOG.md";
30 description = "Samarium Programming Language";
31 license = licenses.mit;
32 homepage = "https://samarium-lang.github.io/Samarium";
33 maintainers = with maintainers; [ sigmanificient ];
34 };
35}