2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildGraalvmNativeImage, fetchurl }:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildGraalvmNativeImage rec {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "zprint";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "1.2.5";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-PWdR5jqyzvTk9HoxqDldwtZNik34dmebBtZZ5vtva4A=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
extraNativeImageBuildArgs = [
|
|
|
|
"--no-server"
|
|
|
|
"-H:EnableURLProtocols=https,http"
|
|
|
|
"-H:+ReportExceptionStackTraces"
|
|
|
|
"--report-unsupported-elements-at-runtime"
|
|
|
|
"--initialize-at-build-time"
|
|
|
|
"--no-fallback"
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Clojure/EDN source code formatter and pretty printer";
|
|
|
|
longDescription = ''
|
|
|
|
Library and command line tool providing a variety of pretty printing capabilities
|
|
|
|
for both Clojure code and Clojure/EDN structures. It can meet almost anyone's needs.
|
|
|
|
As such, it supports a number of major source code formatting approaches
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/kkinnear/zprint";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ stelcodes ];
|
|
|
|
};
|
|
|
|
}
|