Skip to content

Generates a Nix expression for `buildDotnetModule`

License

Notifications You must be signed in to change notification settings

mjones-vsat/nuget2nix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuget2nix

Generates a Nix expression for buildDotnetModule, with support for non nuget.org repos.

Usage

Similar to the nuget-to-nix command available in Nixpkgs, you'll need a directory of packages. This can be achieved with dotnet restore (see here for an example). Optionally, you can specify a path to the NuGet.config file for your package.

Once you have these, the tool can be invoked like so:

$ nuget2nix --directory /path/to/packages <--nuget-config /path/to/NuGet.config>

On completion, the Nix expression to pass to nugetDeps is output to stdout.

About

Generates a Nix expression for `buildDotnetModule`

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 86.2%
  • Nix 13.8%