python3Packages.pyunbound: migrate to python-modules and build with buildPythonPackage
This commit is contained in:
+4
-5
@@ -1,11 +1,10 @@
|
||||
{ lib, stdenv, unbound, openssl, expat, libevent, swig, pythonPackages }:
|
||||
{ lib, buildPythonPackage, unbound, openssl, expat, libevent, swig, python, stdenv }:
|
||||
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "pyunbound";
|
||||
inherit (unbound) version src;
|
||||
pyproject = false; # Built with configure script
|
||||
|
||||
patches = unbound.patches or null;
|
||||
|
||||
nativeBuildInputs = [ swig ];
|
||||
@@ -12754,7 +12754,7 @@ self: super: with self; {
|
||||
inherit (pkgs) udev;
|
||||
};
|
||||
|
||||
pyunbound = toPythonModule (callPackage ../tools/networking/unbound/python.nix { });
|
||||
pyunbound = callPackage ../development/python-modules/pyunbound { };
|
||||
|
||||
pyunifi = callPackage ../development/python-modules/pyunifi { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user