8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
13 owner = "ldn-softdev";
16 sha256 = "sha256-VATRlOOV4wBInLOm9J0Dp2vhtL5mb0Yxdl/ya0JiqEU=";
20 # Fix building with Clang. Removing with next release.
22 url = "https://github.com/ldn-softdev/jtc/commit/92a5116e5524c0b6d2f539db7b5cc9fdd7c5b8ab.patch";
23 sha256 = "sha256-AAvDH0XsT8/CAguG611/odg0m1HR+veC0jbAw6KLHLM=";
30 $CXX -o jtc -Wall -std=gnu++14 -Ofast -pthread -lpthread jtc.cpp
38 install -Dm755 -t $out/bin jtc
44 description = "JSON manipulation and transformation tool";
46 homepage = "https://github.com/ldn-softdev/jtc";
47 license = licenses.mit;
49 platforms = platforms.all;