Loading pkgs/development/python-modules/pyluwen/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, runCommand, fetchFromGitHub, rustPlatform, maturin, protobuf_30, }: buildPythonPackage rec { pname = "pyluwen"; version = "0.7.11"; pyproject = true; src = fetchFromGitHub { owner = "tenstorrent"; repo = "luwen"; tag = "v${version}"; hash = "sha256-eQpKEeuy0mVrmu8ssAOWBcXi7zutStu+RbZOEF/IJ98="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; hash = "sha256-INzF8ORkrmPQMJbGSNm5QkfMOgE+HJ3taU1EZ9i+HJg="; }; sourceRoot = "${src.name}/crates/${pname}"; prePatch = '' chmod -R u+w ../../ cd ../../ ''; postPatch = '' cd ../$sourceRoot cp --no-preserve=ownership,mode ../../Cargo.lock . ''; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook protobuf_30 ]; build-system = [ maturin ]; meta = { description = "Tenstorrent system interface library"; homepage = "https://github.com/tenstorrent/luwen"; maintainers = with lib.maintainers; [ RossComputerGuy ]; license = with lib.licenses; [ asl20 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13240,6 +13240,8 @@ self: super: with self; { pylutron-caseta = callPackage ../development/python-modules/pylutron-caseta { }; pyluwen = callPackage ../development/python-modules/pyluwen { }; pylxd = callPackage ../development/python-modules/pylxd { }; pylyrics = callPackage ../development/python-modules/pylyrics { }; Loading Loading
pkgs/development/python-modules/pyluwen/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, runCommand, fetchFromGitHub, rustPlatform, maturin, protobuf_30, }: buildPythonPackage rec { pname = "pyluwen"; version = "0.7.11"; pyproject = true; src = fetchFromGitHub { owner = "tenstorrent"; repo = "luwen"; tag = "v${version}"; hash = "sha256-eQpKEeuy0mVrmu8ssAOWBcXi7zutStu+RbZOEF/IJ98="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; hash = "sha256-INzF8ORkrmPQMJbGSNm5QkfMOgE+HJ3taU1EZ9i+HJg="; }; sourceRoot = "${src.name}/crates/${pname}"; prePatch = '' chmod -R u+w ../../ cd ../../ ''; postPatch = '' cd ../$sourceRoot cp --no-preserve=ownership,mode ../../Cargo.lock . ''; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook protobuf_30 ]; build-system = [ maturin ]; meta = { description = "Tenstorrent system interface library"; homepage = "https://github.com/tenstorrent/luwen"; maintainers = with lib.maintainers; [ RossComputerGuy ]; license = with lib.licenses; [ asl20 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13240,6 +13240,8 @@ self: super: with self; { pylutron-caseta = callPackage ../development/python-modules/pylutron-caseta { }; pyluwen = callPackage ../development/python-modules/pyluwen { }; pylxd = callPackage ../development/python-modules/pylxd { }; pylyrics = callPackage ../development/python-modules/pylyrics { }; Loading