Merge pull request #135473 from SuperSandro2000/unbound
unbound: unify unbound and pyunbound source
This commit is contained in:
commit
f03fc1e966
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.13.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://unbound.net/downloads/${pname}-${version}.tar.gz";
|
||||
url = "https://nlnetlabs.nl/downloads/unbound/unbound-${version}.tar.gz";
|
||||
sha256 = "sha256-hQTZe4/FvYlzRcldEW4O4N34yP+ZWQqytL0TJ4yfULg=";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,16 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, openssl, expat, libevent, swig, pythonPackages }:
|
||||
{ lib, stdenv, unbound, openssl, expat, libevent, swig, pythonPackages }:
|
||||
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pyunbound";
|
||||
version = "1.13.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nlnetlabs.nl/downloads/unbound/unbound-${version}.tar.gz";
|
||||
sha256 = "sha256-ChO1R/O5KgJrXr0EI/VMmR5XGAN/2fckRYF/agQOGoM=";
|
||||
};
|
||||
inherit (unbound) version src;
|
||||
|
||||
nativeBuildInputs = [ swig ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue