feat: a lot of stuff

This commit is contained in:
Jacob Bachmann 2024-04-16 20:37:08 +02:00
parent 9806ee2a4e
commit bc60f155aa
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
19 changed files with 250 additions and 20 deletions

View file

@ -0,0 +1,26 @@
{ pkgs, lib, buildPythonApplication, python3Packages }:
buildPythonApplication {
pname = "pppdf";
version = "1.0.0";
src = ./pppdf.py;
nativeBuildInputs = [
pkgs.wrapGAppsHook
pkgs.gobject-introspection
];
propagatedBuildInputs = with python3Packages; [ pkgs.gtk3 pygobject3 notify2 pikepdf ];
dontUnpack = true;
format = "other";
installPhase = ''
install -D $src $out/bin/pppdf
'';
meta = with lib; {
description = "PDF Postprocessor";
license = licenses.mit;
};
}