nix-unit: 2.24.1 -> 2.30.0
Diff: https://github.com/nix-community/nix-unit/compare/v2.24.1...v2.30.0
This commit is contained in:
parent
1e4e08809c
commit
cf18de031b
@ -13,24 +13,30 @@
|
||||
pkg-config,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
# We pin the nix version to a known working one here as upgrades can likely break the build.
|
||||
# Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests
|
||||
# On each update of nix unit we should re-evaluate what version we need.
|
||||
nixComponents = nixVersions.nixComponents_2_30;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nix-unit";
|
||||
version = "2.24.1";
|
||||
version = "2.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "nix-unit";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-PcT0jtv2QFaht5eSs1Vq4XGDqtMLdPC49ao9uwGYclE=";
|
||||
hash = "sha256-yQ7HqzfrG7B6Sq1iGBI7QJsbkI/07Ccz42bqWJW4NJA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
nixComponents.nix-main
|
||||
nixComponents.nix-store
|
||||
nixComponents.nix-expr
|
||||
nixComponents.nix-cmd
|
||||
nixComponents.nix-flake
|
||||
nlohmann_json
|
||||
# We pin the nix version to a known working one here as upgrades can likely break the build.
|
||||
# Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests
|
||||
# On each update of nix unit we should re-evaluate what version we need.
|
||||
nixVersions.nix_2_24
|
||||
boost
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user