{ description = "Command line utility for generating ASN labels for paperless with both a human-readable representation, as well as a QR code for machine consumption."; inputs = { pyproject-nix = { url = "github:nix-community/pyproject.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { nixpkgs, pyproject-nix, ... }: let project = pyproject-nix.lib.project.loadPyproject { projectRoot = ./.; }; pkgs = nixpkgs.legacyPackages.x86_64-linux; python = pkgs.python3; in { devShells.x86_64-linux.default = let arg = project.renderers.withPackages { inherit python; }; pythonEnv = python.withPackages arg; in pkgs.mkShell { packages = [ pythonEnv ]; }; packages.x86_64-linux.default = let attrs = project.renderers.buildPythonPackage { inherit python; }; in python.pkgs.buildPythonPackage attrs; }; }