updfparser: init at unstable-2023-01-10
This commit is contained in:
parent
78cd6d9833
commit
958836a059
3 changed files with 42 additions and 0 deletions
|
@ -1469,6 +1469,15 @@
|
|||
githubId = 12958979;
|
||||
name = "Mika Naylor";
|
||||
};
|
||||
autumnal = {
|
||||
name = "Sven Friedrich";
|
||||
email = "sven@autumnal.de";
|
||||
github = "sevenautumns";
|
||||
githubId = 20627275;
|
||||
keys = [{
|
||||
fingerprint = "6A2E 7FDD 1037 11A8 B996 E28E B051 064E 2FCA B71B";
|
||||
}];
|
||||
};
|
||||
avakhrenev = {
|
||||
email = "avakhrenev@gmail.com";
|
||||
github = "avakhrenev";
|
||||
|
|
31
pkgs/development/libraries/updfparser/default.nix
Normal file
31
pkgs/development/libraries/updfparser/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "updfparser";
|
||||
version = "unstable-2023-01-10";
|
||||
rev = "a421098092ba600fb1686a7df8fc58cd67429f59";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://indefero.soutade.fr/p/updfparser/source/download/${rev}/";
|
||||
sha256 = "sha256-Kt1QDj7E0GaT615kJW2MQKF9BeU5U7/95TQKODpxgNI=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
makeFlags = [ "BUILD_STATIC=1" "BUILD_SHARED=1" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dt $out/include include/*.h
|
||||
install -Dt $out/lib libupdfparser.so
|
||||
install -Dt $out/lib libupdfparser.a
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A very simple PDF parser";
|
||||
homepage = "https://indefero.soutade.fr/p/updfparser";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ autumnal ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -23904,6 +23904,8 @@ with pkgs;
|
|||
|
||||
unicon-lang = callPackage ../development/interpreters/unicon-lang { };
|
||||
|
||||
updfparser = callPackage ../development/libraries/updfparser { };
|
||||
|
||||
tsocks = callPackage ../development/libraries/tsocks { };
|
||||
|
||||
unixODBC = callPackage ../development/libraries/unixODBC { };
|
||||
|
|
Loading…
Reference in a new issue