Packaging/Binaries: Difference between revisions

imported>Makefu
m syntax highlighting
imported>Makefu
misc -> office
Line 132: Line 132:


== Creating the Derivation for upstream Packaging ==
== Creating the Derivation for upstream Packaging ==
Packaging is straight forward. We just have to add all the steps we did into a simple derivation file. We call it <code>default.nix</code> and store it in the checked out nixpkgs repository at <code>pkgs/applications/misc/master-pdf-editor</code>
Packaging is straight forward. We just have to add all the steps we did into a simple derivation file. We call it <code>default.nix</code> and store it in the checked out nixpkgs repository at <code>pkgs/applications/office/master-pdf-editor</code>
The content looks like this:
The content looks like this:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
Line 195: Line 195:
   masscan = callPackage ../tools/security/masscan { };
   masscan = callPackage ../tools/security/masscan { };


   master-pdf-editor = callPackage ../applications/misc/master-pdf-editor {};
   master-pdf-editor = callPackage ../applications/office/master-pdf-editor {};


   meson = ../development/tools/build-managers/meson { };
   meson = ../development/tools/build-managers/meson { };