python310Packages.amazon_kclpy 0 -> 1 attrpath: python310Packages.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 [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/8kzprvdcwqk61pm4icc3vzmqnm0py228-packages.json.drv building '/nix/store/8kzprvdcwqk61pm4icc3vzmqnm0py228-packages.json.drv'... Going to be running update for following packages: - python3.10-amazon_kclpy-2.0.6 Press Enter key to continue... Running update for: - python3.10-amazon_kclpy-2.0.6: UPDATING ... - python3.10-amazon_kclpy-2.0.6: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/amazon_kclpy/default.nix b/pkgs/development/python-modules/amazon_kclpy/default.nix index 7394606965f..4e25a318253 100644 --- a/pkgs/development/python-modules/amazon_kclpy/default.nix +++ b/pkgs/development/python-modules/amazon_kclpy/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "amazon_kclpy"; - version = "2.0.6"; + version = "2.1.1"; src = fetchFromGitHub { owner = "awslabs"; repo = "amazon-kinesis-client-python"; - rev = "v${version}"; - sha256 = "0gbpwhpd9i13vi0cch48qqrma90p230psqrkbfcjvdah69w434l4"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-Z0MC4SbZS82beMA7UunEfs4KvrmhW5xAhFeb7WXA7DM="; }; # argparse is just required for python2.6 No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.amazon_kclpy Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix log -f . python310Packages.amazon_kclpy Standard output: error: Package ‘python3.10-amazon_kclpy-2.1.1’ in /var/cache/nixpkgs-update/worker/worktree/python310Packages.amazon_kclpy/pkgs/development/python-modules/amazon_kclpy/default.nix:29 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: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+ (Flake) command, `--impure` must be passed in order to read this environment variable. 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. (use '--show-trace' to show detailed location information)