Unverified Commit 27def8e8 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

gersemi: init at 0.15.1 (#334747)

parents ca86b0e0 c7b97f15
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -22611,6 +22611,12 @@
    githubId = 529003;
    name = "Christine Dodrill";
  };
  xeals = {
    email = "dev@xeal.me";
    github = "xeals";
    githubId = 21125058;
    name = "xeals";
  };
  xeji = {
    email = "xeji@cat3.de";
    github = "xeji";
+32 −0
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
  pname = "gersemi";
  version = "0.15.1";

  src = fetchFromGitHub {
    owner = "BlankSpruce";
    repo = "gersemi";
    rev = version;
    hash = "sha256-MyiGmMITD6TlZ98qsSDalQWOWnpqelTrXKn6MmBGYS0=";
  };

  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";
  };
}