Nix configurations for my homelab
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

lutea: switch to nixpkgs version of ty

yemou 78e6b63c c57e3731

-28
-28
modules/development/python.nix
··· 1 1 { pkgs, ... }: 2 2 { 3 - nixpkgs.overlays = [ 4 - (final: prev: { 5 - ty = prev.python3Packages.buildPythonApplication rec { 6 - pname = "ty"; 7 - version = "0.0.1a1"; 8 - 9 - src = prev.fetchPypi { 10 - inherit pname version; 11 - hash = "sha256-dro/cVcD+unf89DSXSw0spFqVi3+0jswlPtoCS2qjJg="; 12 - }; 13 - 14 - pyproject = true; 15 - 16 - nativeBuildInputs = [ 17 - prev.rustPlatform.cargoSetupHook 18 - prev.rustPlatform.maturinBuildHook 19 - ]; 20 - 21 - cargoRoot = "ruff"; 22 - 23 - cargoDeps = prev.rustPlatform.fetchCargoVendor { 24 - inherit pname version src; 25 - sourceRoot = "${pname}-${version}/${cargoRoot}"; 26 - hash = "sha256-zKy2hlU3Buy+SzN1lNEXb/7V6VlhbGOc78nz1/Ruk+0="; 27 - }; 28 - }; 29 - }) 30 - ]; 31 3 users.users.mou.packages = with pkgs; [ 32 4 ruff 33 5 ty