Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: nspr 4.39 -> 4.40 https://repology.org/project/nspr/versions attrpath: nspr Checking auto update branch... No auto update branch exists Old version 4.39" not present in staging derivation file with contents: { lib, stdenv, fetchurl, buildPackages, nixosTests, }: stdenv.mkDerivation (finalAttrs: { pname = "nspr"; version = "4.40"; src = fetchurl { url = "mirror://mozilla/nspr/releases/v${finalAttrs.version}/src/nspr-${finalAttrs.version}.tar.gz"; hash = "sha256-wMGITGJ/Pbeng/fHMUxpUiayBDaWeR0VUZ5+BXjBm9w="; }; patches = [ ./0001-Makefile-use-SOURCE_DATE_EPOCH-for-reproducibility.patch ]; outputs = [ "out" "dev" ]; outputBin = "dev"; preConfigure = '' cd nspr '' + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace configure --replace '@executable_path/' "$out/lib/" substituteInPlace configure.in --replace '@executable_path/' "$out/lib/" ''; env.HOST_CC = "cc"; depsBuildBuild = [ buildPackages.stdenv.cc ]; configureFlags = [ "--enable-optimize" "--disable-debug" ] ++ lib.optional stdenv.hostPlatform.is64bit "--enable-64bit"; postInstall = '' find $out -name "*.a" -delete moveToOutput share "$dev" # just aclocal ''; enableParallelBuilding = true; passthru.tests = { inherit (nixosTests) firefox firefox-esr; }; meta = { changelog = "https://github.com/mozilla/nspr/releases/tag/NSPR_${lib.concatStringsSep "_" (lib.splitVersion finalAttrs.version)}_RTM"; homepage = "https://firefox-source-docs.mozilla.org/nspr/index.html"; description = "Netscape Portable Runtime, a platform-neutral API for system-level and libc-like functions"; maintainers = with lib.maintainers; [ ajs124 hexa ]; platforms = lib.platforms.all; license = lib.licenses.mpl20; }; })