python311Packages.amazon-kclpy 0 -> 1 attrpath: python311Packages.amazon-kclpy Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/vcqnqdkgz2mi3ykyzwdda5vp6zbbapa1-packages.json.drv building '/nix/store/vcqnqdkgz2mi3ykyzwdda5vp6zbbapa1-packages.json.drv'... Going to be running update for following packages: - python3.11-amazon-kclpy-2.1.3 Press Enter key to continue... Running update for: - python3.11-amazon-kclpy-2.1.3: UPDATING ... - python3.11-amazon-kclpy-2.1.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/amazon-kclpy/default.nix b/pkgs/development/python-modules/amazon-kclpy/default.nix index 751a2945da59..dec0f92fb38a 100644 --- a/pkgs/development/python-modules/amazon-kclpy/default.nix +++ b/pkgs/development/python-modules/amazon-kclpy/default.nix @@ -2,14 +2,14 @@ buildPythonPackage rec { pname = "amazon-kclpy"; - version = "2.1.3"; + version = "2.1.4"; format = "setuptools"; src = fetchFromGitHub { owner = "awslabs"; repo = "amazon-kinesis-client-python"; rev = "refs/tags/v${version}"; - hash = "sha256-3BhccRJd6quElXZSix1aVIqWr9wdcTTziDhnIOLiPPo="; + hash = "sha256-TWIGu7WuoaPhk8cz+hMXvGLIPQ5kly8aj20ZtvTZzwg="; }; # argparse is just required for python2.6 No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/03a4f9rij2z4mmwprlbip3mrnnfaw0yd-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.amazon-kclpy Received ExitFailure 1 when running Raw command: /nix/store/03a4f9rij2z4mmwprlbip3mrnnfaw0yd-nix-2.18.2/bin/nix --extra-experimental-features nix-command log -f . python311Packages.amazon-kclpy Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python311Packages.amazon-kclpy/lib/customisation.nix:365:7: 364| in commonAttrs // { 365| drvPath = assert condition; drv.drvPath; | ^ 366| outPath = assert condition; drv.outPath; … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python311Packages.amazon-kclpy/lib/customisation.nix:365:7: 364| in commonAttrs // { 365| drvPath = assert condition; drv.drvPath; | ^ 366| outPath = assert condition; drv.outPath; (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘python3.11-amazon-kclpy-2.1.4’ in /var/cache/nixpkgs-update/worker/worktree/python311Packages.amazon-kclpy/pkgs/development/python-modules/amazon-kclpy/default.nix:30 has an unfree license (‘amazonsl’), refusing to evaluate. a) To temporarily allow unfree packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_UNFREE=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowUnfree = true; } in configuration.nix to override this. Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "amazon-kclpy" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.