deskew: 1.25 -> 1.30

and update homepage
main
Renaud 2 years ago committed by GitHub
parent 00089fcaf0
commit 3de881ec50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      pkgs/applications/graphics/deskew/default.nix

@ -3,33 +3,35 @@
stdenv.mkDerivation rec {
pname = "deskew";
version = "1.25";
version = "1.30";
src = fetchFromGitHub {
owner = "galfar";
repo = pname;
rev = "v${version}";
sha256 = "0zjjj66qhgqkmfxl3q7p78dv4xl4ci918pgl4d5259pqdj1bfgc8";
hash = "sha256-xghVOEMkQ/mXpOzJqMaT3SII7xneMNoFqRlqjtzmDnA=";
};
nativeBuildInputs = [ fpc ];
buildInputs = [ libtiff ];
buildPhase = ''
rm -r Bin # Remove pre-compiled binary
mkdir Bin
chmod +x compile.sh
./compile.sh
runHook preBuild
patchShebangs ./Scripts
pushd Scripts && ./compile.sh && popd
runHook postBuild
'';
installPhase = ''
install -Dt $out/bin Bin/*
runHook preInstall
install -Dt $out/bin Bin/deskew
runHook postInstall
'';
meta = with lib; {
description = "A command line tool for deskewing scanned text documents";
homepage = "https://bitbucket.org/galfar/app-deskew/overview";
license = licenses.mit;
homepage = "https://galfar.vevb.net/deskew";
license = with licenses; [ mit mpl11 ];
maintainers = with maintainers; [ryantm];
platforms = platforms.all;
};

Loading…
Cancel
Save