Packaging/Binaries: Difference between revisions
imported>Mic92 No edit summary |
imported>Makefu No edit summary |
||
| Line 3: | Line 3: | ||
== Starting Point == | == Starting Point == | ||
We want to package a tool called "MasterPDFEditor", the package for debian can be found at [http://get.code-industry.net/public/master-pdf-editor-4.3.10_qt5.amd64.deb] ([https://web.archive.org/web/20170914112947/http://get.code-industry.net/public/master-pdf-editor-4.3.10_qt5.amd64.deb archive.org mirror]). | We want to package a tool called "MasterPDFEditor", the package for debian can be found at [http://get.code-industry.net/public/master-pdf-editor-4.3.10_qt5.amd64.deb] ([https://web.archive.org/web/20170914112947/http://get.code-industry.net/public/master-pdf-editor-4.3.10_qt5.amd64.deb archive.org mirror]). | ||
This tutorial assumes you run nixos-17.09 or later (for <code>nix-index</code> to work). | |||
Let's download the archive and unpack the archive in a nix shell for testing: | Let's download the archive and unpack the archive in a nix shell for testing: | ||
| Line 171: | Line 172: | ||
homepage = https://code-industry.net/masterpdfeditor/; | homepage = https://code-industry.net/masterpdfeditor/; | ||
description = "a multifunctional PDF Editor"; | description = "a multifunctional PDF Editor"; | ||
license = licenses.proprietary; | |||
platforms = platforms.linux; | platforms = platforms.linux; | ||
maintainers = [ your_name ]; | maintainers = [ your_name ]; | ||
| Line 192: | Line 194: | ||
... | ... | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Creating a Pull Request == | |||
With this new package you can [[Pull request|create a pull request for nixpkgs]]. Be aware that binary distributions are frowned upon if the source is available. | |||
[[Category:Tutorial]] | [[Category:Tutorial]] | ||
[[Category:nixpkgs]] | |||