Error trying to inject setup.py into a buildPythonPackage

I’m trying to package GitHub - muety/website-watcher: 🕵️‍♀️ Naively watch websites for changes on regular intervals.. It’s a very basic repo.

I first tried mkDerivation, but couldn’t figure out how to load the module dirs.

I then created a setup.py for it using setup-py-cli. I have the following flake.nix:

{
  description = "website-watcher";

  inputs = {
    nixpkgs.url = "nixpkgs/nixos-unstable";
  };

  outputs = { self, nixpkgs }:
    let
      # Systems supported
      allSystems = [
        "x86_64-linux" # 64-bit Intel/AMD Linux
        "aarch64-linux" # 64-bit ARM Linux
        "x86_64-darwin" # 64-bit Intel macOS
        "aarch64-darwin" # 64-bit ARM macOS
      ];

      forAllSystems = f: nixpkgs.lib.genAttrs allSystems (system: f {
        pkgs = import nixpkgs { inherit system; };
      });
    in
    {
      packages = forAllSystems ({ pkgs }: {
        default =
          let
            #python = pkgs.python39;
            python = pkgs.python3;
          in

          #pkgs.stdenv.mkDerivation rec {
          python.pkgs.buildPythonPackage rec {
            pname = "website-watcher";
            version = "20230415-060600pdt";
            branch = "9601ff38fe1b411ea7de06bb0eed7968d3d10708";
          
            #src = pkgs.fetchFromGitHub rec {
            srcs = [
              (pkgs.fetchFromGitHub rec {
                inherit pname version;
                name = pname;
                #rev = version;
                rev = branch;
                owner = "muety";
                repo = "website-watcher";
                #sha256 = pkgs.lib.fakeSha256; # Replace with actual sha256
                sha256 = "sha256-iyumU3sxtHx6C0m+rT00ctOZJ6gCEZsNhlwyT6GQOZ4=";
              })

              ./setup.py
            ];

            #nativeBuildInputs = with pkgs; [
            #  rsync
            #];

            buildInputs = with pkgs; [
              (python3.withPackages (ps: with ps; [
                requests
                lxml
              ]))
            ];
          
            #installPhase = ''
            #  mkdir -p $out/lib/website-watcher/

            #  rsync -avP adapters/ $out/lib/website-watcher/adapters/
            #  rsync -avP model/ $out/lib/website-watcher/model/
            #  rsync -avP utils/ $out/lib/website-watcher/utils/

            #  install -Dm755 watcher.py $out/bin/website-watcher
            #'';
          };

      });
    };
}

I get the error:

...
       > unpacking source archive /nix/store/i5y8wawcc3c6hh1zqnvss7861gl5mglr-setup.py
       > do not know how to unpack source archive /nix/store/i5y8wawcc3c6hh1zqnvss7861gl5mglr-setup.py