Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.kaldi-active-grammar 0 -> 1 attrpath: python3Packages.kaldi-active-grammar Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/z0zrvrs5iv316lsd5y2x0nz5rjq34kb5-packages.json.drv building '/nix/store/z0zrvrs5iv316lsd5y2x0nz5rjq34kb5-packages.json.drv'... Going to be running update for following packages: - python3.13-kaldi-active-grammar-3.1.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-kaldi-active-grammar-3.1.0: UPDATING ... - python3.13-kaldi-active-grammar-3.1.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/kaldi-active-grammar/default.nix b/pkgs/development/python-modules/kaldi-active-grammar/default.nix index e9edd1c17252..1b653aa14861 100644 --- a/pkgs/development/python-modules/kaldi-active-grammar/default.nix +++ b/pkgs/development/python-modules/kaldi-active-grammar/default.nix @@ -24,14 +24,14 @@ let in buildPythonPackage rec { pname = "kaldi-active-grammar"; - version = "3.1.0"; + version = "3.2.0"; format = "setuptools"; src = fetchFromGitHub { owner = "daanzu"; repo = "kaldi-active-grammar"; rev = "v${version}"; - sha256 = "0lilk6yjzcy31avy2z36bl9lr60gzwhmyqwqn8akq11qc3mbffsk"; + sha256 = "sha256-VyVshIEVp/ep4Ih7Kj66GF02JEZ4nwgJOtgR2DarzdY="; }; KALDI_BRANCH = "foo"; No auto update branch exists Old version 3.1.0" not present in staging derivation file with contents: { lib, buildPythonPackage, fetchFromGitHub, scikit-build, cmake, ush, requests, six, numpy, cffi, openfst, replaceVars, callPackage, }: # # Maintainer note: only in-tree dependant is `dragonfly`, try to # update the two alongside eachother. # let kaldi = callPackage ./fork.nix { }; in buildPythonPackage rec { pname = "kaldi-active-grammar"; version = "3.2.0"; format = "setuptools"; src = fetchFromGitHub { owner = "daanzu"; repo = "kaldi-active-grammar"; tag = "v${version}"; sha256 = "sha256-VyVshIEVp/ep4Ih7Kj66GF02JEZ4nwgJOtgR2DarzdY="; }; KALDI_BRANCH = "foo"; KALDIAG_SETUP_RAW = "1"; patches = [ # Makes sure scikit-build doesn't try to build the dependencies for us ./0001-stub.patch # Uses the dependencies' binaries from $PATH instead of a specific directory ./0002-exec-path.patch # Makes it dynamically link to the correct Kaldi library (replaceVars ./0003-ffi-path.patch { kaldiFork = "${kaldi}/lib"; }) ]; # scikit-build puts us in the wrong folder. That is bad. preBuild = '' cd .. ''; buildInputs = [ openfst kaldi ]; nativeBuildInputs = [ scikit-build cmake ]; propagatedBuildInputs = [ ush requests numpy cffi six ]; doCheck = false; # no tests exist meta = { description = "Python Kaldi speech recognition"; homepage = "https://github.com/daanzu/kaldi-active-grammar"; license = lib.licenses.agpl3Plus; maintainers = [ ]; # Other platforms are supported upstream. platforms = lib.platforms.linux; }; }