python310Packages.y-py: init at 0.6.0
This commit is contained in:
parent
510680e5e8
commit
57d6016929
44
pkgs/development/python-modules/y-py/default.nix
Normal file
44
pkgs/development/python-modules/y-py/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rustPlatform
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "y-py";
|
||||
version = "0.6.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "y_py";
|
||||
inherit version;
|
||||
hash = "sha256-RoNhaffcKVffhRPP5LwgCRdbOkc+Ywr0IajnXuHEj5g=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-tpUDGBIHqXsKPsK+1h2sNuiV2I0pGVBokKh+hdFazRQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
rust.cargo
|
||||
rust.rustc
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "y_py" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for Y-CRDT";
|
||||
homepage = "https://github.com/y-crdt/ypy";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -12677,6 +12677,8 @@ self: super: with self; {
|
||||
|
||||
xyzservices = callPackage ../development/python-modules/xyzservices { };
|
||||
|
||||
y-py = callPackage ../development/python-modules/y-py { };
|
||||
|
||||
yabadaba = callPackage ../development/python-modules/yabadaba { };
|
||||
|
||||
yahooweather = callPackage ../development/python-modules/yahooweather { };
|
||||
|
Loading…
Reference in New Issue
Block a user