NUR
poetry2nix
NUR | poetry2nix | |
---|---|---|
24 | 21 | |
1,152 | 731 | |
2.6% | 3.6% | |
9.1 | 9.7 | |
7 days ago | 4 days ago | |
Python | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NUR
-
Couple of noob questions
So first, I'm a bit confused about AUR. I'm not aware of what you're describing. I heard about AUR-like repo for Nix (called NUR https://github.com/nix-community/NUR).
-
Adding extensions to firefox using home manager
You need to use nur
-
How to install NordVPN onto NixOS
Hi, I'm the author of the PR :) I uploaded it to NUR precisely so that it would be available sooner. However, as I wrote in the thread yesterday, as of this PR one of the components the package was relying on was deprecated. I'm still trying to make it work again using the new buildFHSEnv. However, if you're running 22.11 or haven't updated your local version of nixpkgs beyond that PR, it should still work.
-
New BFF
Apart from nixpkgs having many packages, there is also NUR which has even more stuff.
-
Using a flake from a GitHub repo
You might also want to publish your sarc utility on NUR, https://nur.nix-community.org/
-
NixOS causes an error while booting
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
-
Is there NO alternative to the aur?
Nix also has the NUR. I have never needed to use it, while when I used arch I had many AUR packages.
-
Anyone figure out how to apply nvidia-patch in nixos?
Follow the NUR installation instructions and it should be in pkgs.nur.repos.arc.packages.nvidia-patch.
-
Best practices for organizing code repository for multiple machines? What about deployment?
As for the community repo, there's nur but only 120 people use it.. I think the reason nixpkgs is so big is that the community is pretty accepting of accepting loads of different packages.
-
Can one self host a nix package repo?
Some common options for the first: - your own git repo - your own flake (a specially constructed and easy to consume git repo) - something like NUR
poetry2nix
-
Things I've learned about building CLI tools in Python
How about converting it to Nix derivation?
https://github.com/nix-community/poetry2nix
-
Poetry2nix: mismatch cryptography sha256 but unable to modify
This looks really strange because I do not know how to solve it and also because it looks like the sha256 that I am setting is not the one that Nix will match. I read also https://github.com/nix-community/poetry2nix/issues/413 but I was not able to solve the problem.
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
There's a project that does this with using Nix: https://github.com/takeda/nix-cde (this is a wrapper around https://github.com/nix-community/poetry2nix)
-
Issue building pycairo in python flake
{ description = "Application packaged using poetry2nix"; inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.poetry2nix = { url = "github:nix-community/poetry2nix"; inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, flake-utils, poetry2nix }: flake-utils.lib.eachDefaultSystem (system: let # see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples. inherit (poetry2nix.legacyPackages.${system}) mkPoetryEnv; pkgs = import nixpkgs {inherit system;}; python = pkgs.python310; pythonEnv = mkPoetryEnv { inherit python; projectDir = ./.; preferWheels = true; }; in { #packages.default = mkPoetryEnv { # projectDir = ./.; # python = pkgs.python310; #}; devShells.default = pkgs.mkShell { buildInputs = [pythonEnv]; packages = [ poetry2nix.packages.${system}.poetry pkgs.cairo pkgs.pkg-config pkgs.gobject-introspection pkgs.tk ]; }; }); }
-
Setting up Stabe Diffusion on NixOS
A cleaner way might be to use https://github.com/nix-community/poetry2nix which can load poetry.lock inside Nix. I still need to try it for torch, but it does seem like a clean way to use it.
- Ask HN: Is anyone successfully self-hosting Firefox Sync?
-
How do I install dependencies for a python application
The README for poetry2nix (https://github.com/nix-community/poetry2nix) seems to indicate that all extras should be enabled by default.
-
how to install Python packages not yet in the Nix repo?
if it's for a project you're working on, i'd recommend just using poetry2nix
- What is the point of containers in prod if one can use Nix everywhere?
-
Issue when installing python packages
poetry2nix is another popular option.
What are some alternatives?
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
mach-nix - Create highly reproducible python environments
nixos-search - Search NixOS packages and options
flake-utils-plus - Use Nix flakes without any fluff.
nix-darwin - nix modules for darwin
nixos-generators - Collection of image builders [maintainer=@Lassulus]
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
nix - Nix, the purely functional package manager