Create nix
expressions for projects managed with
Paket
for ad-hoc packaging of .NET
applications
and libraries.
Paket2Nix
resolves all dependencies via Pakets
lock file, collects relevant
metadata and finally writes out nix
expressions to disk. It also attempts to
calculate sha256
checksums for all dependencies and the main package.
TLDR;
$ cd /path/to/project/root
$ paket2nix
$ cd ./nix
$ nix-build -K default.nix -A $PROJECT_NAME
$ nix-env -i -f default.nix -A $PROJECT_NAME
If you'd like improvements to this tool, please don't hesitate to open an issue or even PR!