Merge pull request #165195 from xfnw/justify-unstable-2022-03-19

This commit is contained in:
Sandro 2022-03-26 11:50:02 +01:00 committed by GitHub
commit 66bb9f8373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, stdenv
, fetchFromGitea
, cmake
}:
stdenv.mkDerivation rec {
pname = "justify";
version = "unstable-2022-03-19";
src = fetchFromGitea {
domain = "tildegit.org";
owner = "jns";
repo = "justify";
rev = "0d397c20ed921c8e091bf18e548d174e15810e62";
sha256 = "sha256-406OhJt2Ila/LIhfqJXhbFqFxJJiRyMVI4/VK8Y43kc=";
};
nativeBuildInputs = [ cmake ];
installPhase = ''
install -D justify $out/bin/justify
'';
meta = with lib; {
homepage = "https://tildegit.org/jns/justify";
description = "Simple text alignment tool that supports left/right/center/fill justify alignment";
license = licenses.gpl3Only;
platforms = platforms.unix;
mainProgram = "justify";
maintainers = with maintainers; [ xfnw ];
};
}

View File

@ -7036,6 +7036,8 @@ with pkgs;
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
justify = callPackage ../tools/text/justify { };
jwhois = callPackage ../tools/networking/jwhois { };
k2pdfopt = callPackage ../applications/misc/k2pdfopt { };