diff --git a/modules/generic/nix.nix b/modules/generic/nix.nix index 3357937..af43f90 100644 --- a/modules/generic/nix.nix +++ b/modules/generic/nix.nix @@ -43,6 +43,7 @@ ]; permittedInsecurePackages = [ + "python3.13-ecdsa-0.19.1" # pytr # "nixos-config" # "electron-36.9.5" # "dotnet-sdk-6.0.428" diff --git a/overlays/default.nix b/overlays/default.nix index c32d3cc..5fb9987 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -33,4 +33,5 @@ in [ (withChannels (import ./packages.nix)) (withChannels (import ./unstable.nix)) (withChannels (import ./spacedrive.nix)) + (withChannels (import ./pytr.nix)) ] diff --git a/overlays/pytr.nix b/overlays/pytr.nix new file mode 100644 index 0000000..bdf6f4e --- /dev/null +++ b/overlays/pytr.nix @@ -0,0 +1,11 @@ +{...}: final: prev: { + pytr = prev.pytr.overrideAttrs (old: { + version = "0.4.5"; + src = prev.fetchFromGitHub { + owner = "pytr-org"; + repo = "pytr"; + rev = "3cd0bb3b1301d89ff9c39de3cb34dc82c0c9af6d"; + hash = "sha256-UStDQaZecrpbL9+IApyV49gVQZrGI7eDURtgHZJazrk="; + }; + }); +}