1 { lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-A29OvGdG6PyeKMf5RarEOrfnNSmXhXri0AlECHWep6M=";
14 cargoHash = "sha256-jZmFUvg6R15oL13OYKkirsepoJwOKCeXdKMcqhPEhNU=";
16 nativeBuildInputs = [ installShellFiles ];
18 # skip auto manpage update
19 buildNoDefaultFeatures = true;
22 installManPage assets/jf.1
26 description = "A small utility to safely format and print JSON objects in the commandline";
27 homepage = "https://github.com/sayanarijit/jf";
28 license = licenses.mit;
29 maintainers = [ maintainers.sayanarijit ];