Skip to content

Commit

Permalink
Merge branch 'nixpkgs-23.05'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoquet committed Aug 1, 2023
2 parents 7fa57b4 + ffc54cb commit 2db557e
Show file tree
Hide file tree
Showing 17 changed files with 38 additions and 136 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# If called without explicitly setting the 'pkgs' arg, a pinned nixpkgs version is used by default.
{ pkgs ? import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/22.11.tar.gz";
sha256 = "sha256:11w3wn2yjhaa5pv20gbfbirvjq6i3m7pqrq2msf0g7cv44vijwgw";
url = "https://github.com/NixOS/nixpkgs/archive/23.05.tar.gz";
sha256 = "sha256:10wn0l08j9lgqcw8177nh2ljrnxdrpri7bp0g7nvrsn9rkawvlbf";
}) {}
, debug ? false
}:
Expand Down
14 changes: 7 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = " My personal NUR repository";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs?ref=22.11";
nixpkgs.url = "github:nixos/nixpkgs?ref=23.05";
};
outputs = { self, nixpkgs, flake-utils }:
let
Expand Down
8 changes: 1 addition & 7 deletions nur.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ rec {

batexpe = pkgs.callPackage ./pkgs/batexpe { };

batprotocol-cpp = pkgs.callPackage ./pkgs/batprotocol/cpp.nix { inherit flatbuffers debug; };

batsim-410 = pkgs.callPackage ./pkgs/batsim/batsim410.nix { inherit redox debug; simgrid = simgrid-332light; intervalset = intervalsetlight; };
batsim = batsim-410;
batsim-docker = pkgs.callPackage ./pkgs/batsim/batsim-docker.nix { inherit batsim; };
Expand Down Expand Up @@ -67,14 +65,12 @@ rec {

ear = pkgs.callPackage ./pkgs/ear { };

enoslib = pkgs.callPackage ./pkgs/enoslib { inherit execo ring iotlabsshcli distem python-grid5000; };
enoslib = pkgs.callPackage ./pkgs/enoslib { inherit execo iotlabsshcli distem python-grid5000; };

evalys = pkgs.callPackage ./pkgs/evalys { inherit procset; };

execo = pkgs.callPackage ./pkgs/execo { };

flatbuffers = pkgs.callPackage ./pkgs/flatbuffers/2.0.nix { };

flower = pkgs.callPackage ./pkgs/flower { inherit iterators; };

iotlabcli = pkgs.callPackage ./pkgs/iotlabcli { };
Expand Down Expand Up @@ -135,8 +131,6 @@ rec {

oar3 = oar;

ring = pkgs.callPackage ./pkgs/ring { inherit wirerope; };

simgrid-327 = pkgs.callPackage ./pkgs/simgrid/simgrid327.nix { inherit debug; };
simgrid-328 = pkgs.callPackage ./pkgs/simgrid/simgrid328.nix { inherit debug; };
simgrid-329 = pkgs.callPackage ./pkgs/simgrid/simgrid329.nix { inherit debug; };
Expand Down
35 changes: 0 additions & 35 deletions pkgs/batprotocol/cpp.nix

This file was deleted.

15 changes: 11 additions & 4 deletions pkgs/enoslib/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
{ python3Packages, fetchFromGitLab, execo, ansible, ring, iotlabsshcli, distem, python-grid5000 }:
{ python3Packages, fetchFromGitLab, execo, ansible, iotlabsshcli, distem, python-grid5000 }:

python3Packages.buildPythonPackage rec {
pname = "enoslib";
version = "v8.1.3";
version = "v8.1.4";
src = fetchFromGitLab {
domain = "gitlab.inria.fr";
owner = "discovery";
repo = pname;
rev = "${version}";
sha256 = "sha256-QopX4YyYef9YkWmlm1wLg7DcXWUCpG+bdE3LxN7udtk=";
sha256 = "sha256-hGDneTQUexCBmZhnmZyIIeIlM87IzGCrIWWjC7plXk4=";
};

# We do the following because nix cannot yet access the extra builds of poetry
patchPhase = ''
substituteInPlace setup.cfg --replace "importlib_resources>=5,<6" ""
substituteInPlace setup.cfg --replace "importlib_metadata>=6,<7" ""
substituteInPlace setup.cfg --replace "rich[jupyter]~=12.0.0" "rich>=12.0.0"
substituteInPlace setup.cfg --replace "packaging~=21.3" "packaging>=21.3"
substituteInPlace setup.cfg --replace "pytz~=2022.1" "pytz>=2022.1"
substituteInPlace setup.cfg --replace "ansible>=2.9,<7.2" "ansible>=2.9"
'';
propagatedBuildInputs = [
python3Packages.cryptography
Expand All @@ -22,12 +28,13 @@ python3Packages.buildPythonPackage rec {
python3Packages.ipywidgets
python3Packages.rich
python3Packages.jsonschema
python3Packages.packaging
python3Packages.pytz

ansible

distem
iotlabsshcli
ring
execo
python-grid5000
];
Expand Down
6 changes: 0 additions & 6 deletions pkgs/flatbuffers/2.0.nix

This file was deleted.

46 changes: 0 additions & 46 deletions pkgs/flatbuffers/generic.nix

This file was deleted.

2 changes: 1 addition & 1 deletion pkgs/flower/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ python3Packages.buildPythonPackage rec {
./0001-loosen-protobuf-version-requirement.patch
];

nativeBuildInputs = [ python3Packages.poetry ];
nativeBuildInputs = [ python3Packages.poetry-core ];
propagatedBuildInputs = with python3Packages; [
numpy
protobuf
Expand Down
3 changes: 2 additions & 1 deletion pkgs/nxc/cluster.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ python3Packages.buildPythonPackage rec {
};
patches = [ ./0001-bs-loosen-tomlkit-dep-version-constraint.patch ];

buildInputs = with python3Packages; [
buildInputs = [
poetry
python3Packages.poetry-core
];
propagatedBuildInputs = with python3Packages; [
halo
Expand Down
7 changes: 5 additions & 2 deletions pkgs/oar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ python3Packages.buildPythonPackage rec {
};
patches = [ ./0001-bs-loosen-pyzmq-version-constraint.patch ];

nativeBuildInputs = [ poetry ];
nativeBuildInputs = [
poetry
python3Packages.poetry-core
];

propagatedBuildInputs = with python3Packages; [
pyzmq
Expand Down Expand Up @@ -45,7 +48,7 @@ python3Packages.buildPythonPackage rec {
'';

meta = {
broken = false;
broken = true;
homepage = "https://github.com/oar-team/oar3";
description = "OAR: a Versatile Resource and Job Manager";
license = lib.licenses.lgpl21;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/oxidisched/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ rustPlatform.buildRustPackage rec {
homepage = https://gitlab.inria.fr/batsim/oxidisched;
description = "Batsim-compatible schedulers mostly meant to test Batsim. Written in Rust.";
license = licenses.lgpl3;
broken = false;
broken = true;
};
}
4 changes: 2 additions & 2 deletions pkgs/pybatsim/core400.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, python3Packages, poetry, procset, callPackage }:
{ lib, python3Packages, procset, callPackage }:

python3Packages.buildPythonPackage rec {
pname = "pybatsim-core";
Expand All @@ -10,7 +10,7 @@ python3Packages.buildPythonPackage rec {
src = "${pybatsim-src}/${pname}";

buildInputs = with python3Packages; [
poetry
poetry-core
];
propagatedBuildInputs = with python3Packages; [
docopt
Expand Down
4 changes: 2 additions & 2 deletions pkgs/pybatsim/functional400.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, python3Packages, poetry, pybatsim-core, callPackage }:
{ lib, python3Packages, pybatsim-core, callPackage }:

python3Packages.buildPythonPackage rec {
pname = "pybatsim-functional";
Expand All @@ -10,7 +10,7 @@ python3Packages.buildPythonPackage rec {
src = "${pybatsim-src}/${pname}";

buildInputs = with python3Packages; [
poetry
poetry-core
];
propagatedBuildInputs = with python3Packages; [
pybatsim-core
Expand Down
4 changes: 2 additions & 2 deletions pkgs/pybatsim/pybatsim321.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, python3Packages, poetry, procset }:
{ lib, python3Packages, procset }:

python3Packages.buildPythonPackage rec {
pname = "pybatsim";
Expand All @@ -12,7 +12,7 @@ python3Packages.buildPythonPackage rec {
patches = [ ./321-0001-bs-loosen-pyzmq-version-constraint.patch ];

buildInputs = with python3Packages; [
poetry
poetry-core
];
propagatedBuildInputs = with python3Packages; [
docopt
Expand Down
17 changes: 0 additions & 17 deletions pkgs/ring/default.nix

This file was deleted.

1 change: 1 addition & 0 deletions pkgs/scylladb-cpp-driver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
description = "DataStax C/C++ Driver for Apache Cassandra® and DataStax Products";
license = licenses.asl20;
platforms = platforms.linux;
broken = true;
};
}

0 comments on commit 2db557e

Please sign in to comment.