feat: a lot of stuff
This commit is contained in:
parent
9806ee2a4e
commit
bc60f155aa
19 changed files with 250 additions and 20 deletions
26
overlays/pppdf/default.nix
Normal file
26
overlays/pppdf/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue