mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
33 lines
669 B
Nix
33 lines
669 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "gersemi";
|
|
version = "0.16.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BlankSpruce";
|
|
repo = "gersemi";
|
|
rev = version;
|
|
hash = "sha256-B2mDtMLJTriSeeH0SLQ7qP/PyaNE5eTQ/mgm4S5B8g0=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
appdirs
|
|
colorama
|
|
lark
|
|
pyyaml
|
|
];
|
|
|
|
meta = {
|
|
description = "Formatter to make your CMake code the real treasure";
|
|
homepage = "https://github.com/BlankSpruce/gersemi";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ xeals ];
|
|
mainProgram = "gersemi";
|
|
};
|
|
}
|