Use nixpkgs-provided txtorcon

This commit is contained in:
Florian Sesser 2024-12-04 19:07:34 +00:00 committed by Benoit Donneaux
parent e01453e0fd
commit 37373133b9
2 changed files with 1 additions and 15 deletions

View File

@ -45,15 +45,10 @@ in {
# Some dependencies aren't packaged in nixpkgs so supply our own packages.
txi2p = self.callPackage ./txi2p.nix { };
# Some packages are of somewhat too-old versions - update them.
txtorcon = self.callPackage ./txtorcon.nix {
# Avoid infinite recursion.
inherit (super) txtorcon;
};
# collections-extended is currently broken for Python 3.11 in nixpkgs but
# we know where a working version lives.
collections-extended = self.callPackage ./collections-extended.nix {
# Avoid infinite recursion.
inherit (super) collections-extended;
};

View File

@ -1,9 +0,0 @@
{ txtorcon, fetchPypi }:
txtorcon.overrideAttrs (old: rec {
pname = "txtorcon";
version = "23.5.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-k/2Aqd1QX2mNCGT+k9uLapwRRLX+uRUwggtw7YmCZRw=";
};
})