1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/by-name/ge/gersemi/package.nix
2024-12-07 08:20:24 +00:00

33 lines
669 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "gersemi";
version = "0.17.1";
src = fetchFromGitHub {
owner = "BlankSpruce";
repo = "gersemi";
tag = version;
hash = "sha256-AphKC50O9ohywLagyQMfk8A6w4Cm0ceHHWSRAWOnoyM=";
};
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";
};
}