7 stdenv.mkDerivation rec {
9 version = "unstable-2022-03-19";
11 src = fetchFromGitea {
12 domain = "tildegit.org";
15 rev = "0d397c20ed921c8e091bf18e548d174e15810e62";
16 sha256 = "sha256-406OhJt2Ila/LIhfqJXhbFqFxJJiRyMVI4/VK8Y43kc=";
20 sed '1i#include <algorithm>' -i src/stringHelper.h # gcc12
23 nativeBuildInputs = [ cmake ];
26 install -D justify $out/bin/justify
30 homepage = "https://tildegit.org/jns/justify";
31 description = "Simple text alignment tool that supports left/right/center/fill justify alignment";
32 license = licenses.gpl3Only;
33 platforms = platforms.unix;
34 mainProgram = "justify";
35 maintainers = with maintainers; [ xfnw ];