python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / zprint / default.nix
blobc401ecf0bb52bb55dd9393d596f3a534930341bc
1 { lib, buildGraalvmNativeImage, fetchurl  }:
3 buildGraalvmNativeImage rec {
4   pname = "zprint";
5   version = "1.2.4";
7   src = fetchurl {
8     url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}";
9     sha256 = "sha256-PgmaKxTOZPgHhEfFA5FdHrKHHpfieoK2QZBYR3f0J8s=";
10   };
12   extraNativeImageBuildArgs = [
13     "--no-server"
14     "-H:EnableURLProtocols=https,http"
15     "-H:+ReportExceptionStackTraces"
16     "--report-unsupported-elements-at-runtime"
17     "--initialize-at-build-time"
18     "--no-fallback"
19   ];
21   meta = with lib; {
22     description = "Clojure/EDN source code formatter and pretty printer";
23     longDescription = ''
24       Library and command line tool providing a variety of pretty printing capabilities
25       for both Clojure code and Clojure/EDN structures. It can meet almost anyone's needs.
26       As such, it supports a number of major source code formatting approaches
27     '';
28     homepage = "https://github.com/kkinnear/zprint";
29     license = licenses.mit;
30     maintainers = with maintainers; [ stelcodes ];
31   };