summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/samarium/default.nix
blob: e75224ada3b303a28d2cd5de9b990804b07d3552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  crossandra,
  dahlia,
}:

buildPythonPackage (finalAttrs: {
  pname = "samarium";
  version = "0.6.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "samarium-lang";
    repo = "samarium";
    tag = finalAttrs.version;
    hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk=";
  };

  build-system = [ poetry-core ];
  dependencies = [
    crossandra
    dahlia
  ];

  meta = {
    changelog = "https://github.com/samarium-lang/samarium/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    description = "Samarium Programming Language";
    license = lib.licenses.mit;
    homepage = "https://samarium-lang.github.io/Samarium";
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})