Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ buildPythonPackage rec {
'';

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src postPatch;
name = "${pname}-${version}";
inherit
pname
version
src
postPatch
;
hash = "sha256-CDUyH08s96xUy0VhK+4ym0w9IgAq9P1UjUipVjlpl9c=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/cryptography/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ buildPythonPackage rec {
};

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
inherit pname version src;
hash = "sha256-HbUsV+ABE89UvhCRZYXr+Q/zRDKUy+HgCVdQFHqaP4o=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/orjson/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ buildPythonPackage rec {
};

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
inherit pname version src;
hash = "sha256-mOHOIKmcXjPwZ8uPth+yvreHG4IpiS6SFhWY+IZS69E=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/pendulum/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ buildPythonPackage rec {

cargoRoot = "rust";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
inherit pname version src;
sourceRoot = "${src.name}/rust";
name = "${pname}-${version}";
hash = "sha256-6WgGIfz9I+xRJqXWhjfGDZM1umYwVlUEpLAiecZNZmI=";
postPatch = ''
substituteInPlace Cargo.lock \
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/pydantic-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ let
};

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
inherit pname version src;
hash = "sha256-bGhS36Fc7LUdpTHsIM1zn1vX2T/OX+fPewLxLGSZRrk=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/qiskit-terra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ buildPythonPackage rec {
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
inherit pname version src;
hash = "sha256-nTYrNH3h1kAwwPx7OMw6eI61vYy8iFhm4eWDTGhWxt4=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/rpds-py/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ buildPythonPackage rec {
};

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
inherit pname version src;
hash = "sha256-AHmnDTHuoB9wHH4CH20C+hFi9WaQBoUNMIvTIZlajVw=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/sudachipy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ buildPythonPackage rec {
inherit (sudachi-rs) src version;

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
inherit pname version src;
hash = "sha256-/VKveTtB8BbWgRBEzWBjrSrW84uFcz08cz6tZTuMMeE=";
};

Expand Down
3 changes: 1 addition & 2 deletions pkgs/tools/filesystems/ceph/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,8 @@ let
};
cargoRoot = "src/_bcrypt";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
inherit pname version src;
sourceRoot = "${pname}-${version}/${cargoRoot}";
name = "${pname}-${version}";
hash = "sha256-8PyCgh/rUO8uynzGdgylAsb5k55dP9fCnf40UOTCR/M=";
};
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ buildPythonPackage rec {
};

cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
inherit pname version src;
sourceRoot = "${pname}-${version}/${cargoRoot}";
name = "${pname}-${version}";
hash = "sha256-pZHu3Oo9DWRAtldU0UvrH1FIg0bEvyfizPUhj9IBL58=";
};

Expand Down