nix-unit: 2.24.1 -> 2.30.0 (#433021)

authored by Jörg Thalheim and committed by GitHub 5c09e7c1 b38cdcc5

+13 -7
+13 -7
pkgs/by-name/ni/nix-unit/package.nix
··· 13 pkg-config, 14 fetchFromGitHub, 15 }: 16 - 17 stdenv.mkDerivation (finalAttrs: { 18 pname = "nix-unit"; 19 - version = "2.24.1"; 20 21 src = fetchFromGitHub { 22 owner = "nix-community"; 23 repo = "nix-unit"; 24 rev = "v${finalAttrs.version}"; 25 - hash = "sha256-PcT0jtv2QFaht5eSs1Vq4XGDqtMLdPC49ao9uwGYclE="; 26 }; 27 28 buildInputs = [ 29 nlohmann_json 30 - # We pin the nix version to a known working one here as upgrades can likely break the build. 31 - # Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests 32 - # On each update of nix unit we should re-evaluate what version we need. 33 - nixVersions.nix_2_24 34 boost 35 ]; 36
··· 13 pkg-config, 14 fetchFromGitHub, 15 }: 16 + let 17 + # We pin the nix version to a known working one here as upgrades can likely break the build. 18 + # Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests 19 + # On each update of nix unit we should re-evaluate what version we need. 20 + nixComponents = nixVersions.nixComponents_2_30; 21 + in 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "nix-unit"; 24 + version = "2.30.0"; 25 26 src = fetchFromGitHub { 27 owner = "nix-community"; 28 repo = "nix-unit"; 29 rev = "v${finalAttrs.version}"; 30 + hash = "sha256-yQ7HqzfrG7B6Sq1iGBI7QJsbkI/07Ccz42bqWJW4NJA="; 31 }; 32 33 buildInputs = [ 34 + nixComponents.nix-main 35 + nixComponents.nix-store 36 + nixComponents.nix-expr 37 + nixComponents.nix-cmd 38 + nixComponents.nix-flake 39 nlohmann_json 40 boost 41 ]; 42