gersemi: init at 0.10.0
Some checks failed
CI / checks (nur) (push) Failing after 42s
CI / build-and-update (xeals, xeals) (push) Successful in 3m48s

This commit is contained in:
xeals 2024-01-04 11:13:32 +11:00
parent 4720d618ae
commit a6c7ddbb34
Signed by: xeals
SSH Key Fingerprint: SHA256:pRv+8swQDA+/LuZ7NHj9m006BbKexlNK62OUA01ZZBc

View File

@ -0,0 +1,35 @@
{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "gersemi";
version = "0.10.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Gd3wZNbBIYo2i0n1DlyHg3s5c+BBJ0nppMw8IVcfKUM=";
};
# Remove dataclasses backport requirement since it doesn't work on newer
# Python.
patchPhase = ''
sed -i '/dataclasses/d' setup.py
'';
propagatedBuildInputs = with python3.pkgs; [
appdirs
colorama
lark
pyyaml
];
meta = {
description = "A formatter to make your CMake code the real treasure";
homepage = "https://github.com/BlankSpruce/gersemi";
license = lib.licenses.mpl20;
platforms = python3.meta.platforms;
};
}