···21022102result in packages depending on different variants and thereby causing21032103collisions.2104210421052105+::: {.note}21062106+The `optional-dependencies` attribute should only be used for dependency groups21072107+as defined in package metadata. If a package gracefully handles missing21082108+dependencies in runtime but doesn't advertise it through package metadata, then21092109+these dependencies should not be listed at all. (One may still have to list21102110+them in `nativeCheckInputs` to pass test suite.)21112111+:::21122112+21052113### How to contribute a Python package to nixpkgs? {#tools}2106211421072115Packages inside nixpkgs must use the [`buildPythonPackage`](#buildpythonpackage-function) or [`buildPythonApplication`](#buildpythonapplication-function) function directly,
+16-4
nixos/modules/programs/nh.nix
···88 cfg = config.programs.nh;99in1010{1111- meta.maintainers = [ lib.maintainers.viperML ];1111+ meta.maintainers = with lib.maintainers; [1212+ NotAShelf1313+ viperML1414+ ];12151316 options.programs.nh = {1417 enable = lib.mkEnableOption "nh, yet another Nix CLI helper";···2219 type = lib.types.nullOr lib.types.path;2320 default = null;2421 description = ''2525- The path that will be used for the `FLAKE` environment variable.2222+ The path that will be used for the `NH_FLAKE` environment variable.26232727- `FLAKE` is used by nh as the default flake for performing actions, like `nh os switch`.2424+ `NH_FLAKE` is used by nh as the default flake for performing actions, such as2525+ `nh os switch`. This behaviour can be overriden per-command with environment2626+ variables that will take priority.2727+2828+ - `NH_OS_FLAKE`: will take priority for `nh os` commands.2929+ - `NH_HOME_FLAKE`: will take priority for `nh home` commands.3030+ - `NH_DARWIN_FLAKE`: will take priority for `nh darwin` commands.3131+3232+ The formerly valid `FLAKE` is now deprecated by nh, and will cause hard errors3333+ in future releases if `NH_FLAKE` is not set.2834 '';2935 };3036···8977 environment = lib.mkIf cfg.enable {9078 systemPackages = [ cfg.package ];9179 variables = lib.mkIf (cfg.flake != null) {9292- FLAKE = cfg.flake;8080+ NH_FLAKE = cfg.flake;9381 };9482 };9583
···3030in3131stdenv.mkDerivation {3232 pname = "domination";3333- version = "1.3.1";3333+ version = "1.3.3";34343535 # The .zip releases do not contain the build.xml file3636 src = fetchsvn {3737 url = "https://svn.code.sf.net/p/domination/code/Domination";3838 # There are no tags in the repository.3939- # Look for commits like "new version x.y.z info on website"4040- # or "website update for x.y.z".4141- rev = "2538";4242- hash = "sha256-wsLBHkQc1SW+PToyCXIek6qRrRga2nLLkM+5msrnsBo=";3939+ # Look for "(svn rev X)" at4040+ # https://sourceforge.net/p/domination/code/HEAD/tree/Domination/ChangeLog.txt4141+ # Alternatively, look for revs like "changelog update",4242+ # "new version x.y.z info on website", or "website update for x.y.z".4343+ rev = "2616";4444+ hash = "sha256-/h9TstRxMpeoEsIeSN0MRmyRsiBHomguIPch1Zda8s8=";4345 };44464547 nativeBuildInputs = [···9795 passthru.tests = {9896 domination-starts = nixosTests.domination;9997 };9898+9999+ passthru.updateScript = ./update.tcl;100100101101 meta = with lib; {102102 homepage = "https://domination.sourceforge.net/";
···35353636rustPlatform.buildRustPackage rec {3737 pname = "gitbutler";3838- version = "0.14.16";3838+ version = "0.14.18";39394040 src = fetchFromGitHub {4141 owner = "gitbutlerapp";4242 repo = "gitbutler";4343 tag = "release/${version}";4444- hash = "sha256-SbxoLlXa6ZouZPY4P29ol9caDrM9XyJyBl35Wemmh9Y=";4444+ hash = "sha256-lYC7thGiCAW6snGyE+qQteS1WfY9k3aez84U8PEjmjg=";4545 };46464747 # Let Tauri know what version we're building···6060 '';61616262 useFetchCargoVendor = true;6363- cargoHash = "sha256-VlGHexsNOwipyKiotWYgt8E+x6C22a7xW2Zft39FeJE=";6363+ cargoHash = "sha256-VVGdZxfBLj1kKEJjck5jhOsoW4KRUWiup6w6wpRto7Q=";64646565 pnpmDeps = pnpm_9.fetchDeps {6666 inherit pname version src;6767- hash = "sha256-Zf/n49nb1PcE3RMeBoN3EAershxQh1AO8Hx9m3NV9XM=";6767+ hash = "sha256-v+nW5C4an5Yx6Kfd1iErNiXRofPubgLSNFZu/Ae1DFc=";6868 };69697070 nativeBuildInputs = [
+23
pkgs/by-name/gi/gitlab-ci-local/package.nix
···3434 '';35353636 postInstall = ''3737+ NODE_MODULES=$out/lib/node_modules/gitlab-ci-local/node_modules3838+3939+ # Remove intermediate build files for re2 to reduce dependencies.4040+ #4141+ # This does not affect the behavior. On npm `re2` does not ship4242+ # the build directory and downloads a prebuilt version of the4343+ # `re2.node` binary. This method produces the same result.4444+ find $NODE_MODULES/re2/build -type f ! -path "*/Release/re2.node" -delete4545+ strip -x $NODE_MODULES/re2/build/Release/re2.node4646+4747+ # Remove files that depend on python34848+ #4949+ # The node-gyp package is only used for building re2, so it is5050+ # not needed at runtime. I did not remove the whole directory5151+ # because of some dangling links to the node-gyp directory which5252+ # is not required. It is possible to remove the directory and all5353+ # the files that link to it, but I figured it was not worth5454+ # tracking down the files.5555+ #5656+ # The re2/vendor directory is used for building the re2.node5757+ # binary, so it is not needed at runtime.5858+ rm -rf $NODE_MODULES/{node-gyp/gyp,re2/vendor}5959+3760 wrapProgram $out/bin/gitlab-ci-local \3861 --prefix PATH : "${3962 lib.makeBinPath [
···1919 pythonRelaxDeps = [2020 "impacket"2121 "pefile"2222+ "rich"2223 ];23242425 build-system = with python3.pkgs; [ poetry-core ];···3029 pefile3130 rich3231 ];3232+3333+ # Project has no unit tests3434+ doCheck = false;33353436 pythonImportsCheck = [ "smbclientng" ];3537
+3-3
pkgs/by-name/so/sonarlint-ls/package.nix
···16161717maven.buildMavenPackage rec {1818 pname = "sonarlint-ls";1919- version = "3.20.0.76057";1919+ version = "3.20.1.76068";20202121 src = fetchFromGitHub {2222 owner = "SonarSource";2323 repo = "sonarlint-language-server";2424 rev = version;2525- hash = "sha256-O02KxAIOKhHBkxjLSsc2Pw7VkR0IsyA/kpCu4f1urTE=";2525+ hash = "sha256-sM0/L6li314/j//hTDpSKr+XimWY5EZiC1d0CVKoWmw=";2626 };27272828 mvnJdk = jdk17;2929- mvnHash = "sha256-yFzT0v7u23b/r8Pe+wuSXlwc4rN5DJ9ezmtlcWVMj7k=";2929+ mvnHash = "sha256-aF2lQhed7EN6l3Nwu90x3b4mzwfXyZNCYE8fLMU1Ln0=";30303131 # Disables failing tests which either need network access or are flaky.3232 mvnParameters = lib.escapeShellArgs [
+2-2
pkgs/by-name/sr/sratoolkit/package.nix
···1616 pname = "sratoolkit";17171818 # NOTE: When updating make sure to update ncbi-vdb as well for versions to match1919- version = "3.1.1";1919+ version = "3.2.1";20202121 src = fetchFromGitHub {2222 owner = "ncbi";2323 repo = "sra-tools";2424 tag = finalAttrs.version;2525- hash = "sha256-WVPiAz3EFYuhBnl7BsEjJ2BTi1wAownEunVM4sdLaj8=";2525+ hash = "sha256-OeM4syv9c1rZn2ferrhXyKJu68ywVYwnHoqnviWBZy4=";2626 };27272828 cmakeFlags = [
···7788buildGoModule rec {99 pname = "tanka";1010- version = "0.31.3";1010+ version = "0.32.0";11111212 src = fetchFromGitHub {1313 owner = "grafana";1414 repo = pname;1515 rev = "v${version}";1616- sha256 = "sha256-MaWO9I2+xHA+55tUSQ91yJ7suubnWP4V7JxZTruN1A0=";1616+ sha256 = "sha256-+875PMDATNarFhnAhpi9QxBNgV9irrjRWd/hHsqlH+c=";1717 };18181919- vendorHash = "sha256-jTvKNl0L+Dl3u5qHQg0R/rtNtLljLoIvciXYKRe/zNg=";1919+ vendorHash = "sha256-pgtkTpEnRBjao/78Zc8qVJXZGRmKbO5wIy/7G4y0DgU=";20202121 doCheck = false;2222 # Required for versions >= 0.28 as they introduce a gowork.sum file. This is only used for tests so we can safely disable GOWORK
···2525 "pyemvue"2626 ];27272828- dontBuild = true;2929-3028 meta = with lib; {3129 description = "Reads data from the Emporia Vue energy monitor into Home Assistant";3230 homepage = "https://github.com/magico13/ha-emporia-vue";
···2323 pymiele2424 ];25252626- # Makefile only used for bumping the version2727- dontBuild = true;2828-2926 meta = with lib; {3027 changelog = "https://github.com/astrandb/miele/releases/tag/v${version}";3128 description = "Modern integration for Miele devices in Home Assistant";