Updating Pysolfc Package

Hi all,

Apologies for the probable lack of detail, I am new to NixOS and doing my best to see the necessary elements.

I am trying to update pysolfc to the newest version. I have made what I believe are the correct modifications to the package file here:

To (hopefully temporarily) patch my system I have added a new file to the configuration by modifying my configuration.nix’s imports:

  imports = [

where pysolfc.nix reads:

{ config, pkgs, lib, ... }:

with builtins; let

  unstable = import <unstable> {};

  pysolfcPin = import (pkgs.fetchFromGitHub {
      owner = "zwerdlds";
      repo = "nixpkgs";
      rev = "release-22.05";
      sha256 = "1q3jzwda5f9psqcnvqvv3w889mv7ak629gsayjcz3xxnzjm0cdhh";
    }) {};
in {
  environment.systemPackages = with pkgs; [

But each time I try to use the changed file it fails to compile with the error:

ERROR: Could not find a version that satisfies the requirement configobj (from pysolfc) (from versions: none)
ERROR: No matching distribution found for configobj

It would be great to finish this change and submit a PR. Does anyone have a hint on where to go from here?

Thank you!

thats an error from pip or poetry and that mentioned package is missing or the version constraint is not matching.