depot/third_party/nixpkgs/pkgs/development/python-modules/samarium/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

35 lines
838 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
crossandra,
dahlia,
pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "samarium";
version = "0.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "samarium-lang";
repo = "samarium";
rev = "refs/tags/${version}";
hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk=";
};
build-system = [ poetry-core pythonRelaxDepsHook ];
dependencies = [ crossandra dahlia ];
pythonRelaxDeps = [ "crossandra" ];
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 ];
};
}