octodns: 1.4.0 -> 1.9.1 (#346537)
This commit is contained in:
commit
e385a8531a
@ -1,22 +1,23 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, dnspython
|
||||
, fqdn
|
||||
, idna
|
||||
, natsort
|
||||
, python-dateutil
|
||||
, pyyaml
|
||||
, python
|
||||
, runCommand
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
dnspython,
|
||||
fetchFromGitHub,
|
||||
fqdn,
|
||||
idna,
|
||||
natsort,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
python3,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
runCommand,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "octodns";
|
||||
version = "1.4.0";
|
||||
version = "1.9.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -24,15 +25,15 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "octodns";
|
||||
repo = "octodns";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-l4JGodbUmFxHFeEaxgClEozHcbyYP0F2yj5gDqV88IA=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5EKa5G1rX/BRMMpGd861qTaACa2tBgNrKX52uJPV+N8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
dnspython
|
||||
fqdn
|
||||
idna
|
||||
@ -47,18 +48,21 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "octodns" ];
|
||||
|
||||
passthru.withProviders = ps: let
|
||||
pyEnv = python.withPackages ps;
|
||||
in runCommand "octodns-with-providers" { } ''
|
||||
mkdir -p $out/bin
|
||||
ln -st $out/bin ${pyEnv}/bin/octodns-*
|
||||
'';
|
||||
passthru.withProviders =
|
||||
ps:
|
||||
let
|
||||
pyEnv = python3.withPackages ps;
|
||||
in
|
||||
runCommand "octodns-with-providers" { } ''
|
||||
mkdir -p $out/bin
|
||||
ln -st $out/bin ${pyEnv}/bin/octodns-*
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for managing DNS across multiple providers";
|
||||
homepage = "https://github.com/octodns/octodns";
|
||||
changelog = "https://github.com/octodns/octodns/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
maintainers = [ maintainers.anthonyroussel ];
|
||||
};
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "octodns-powerdns";
|
||||
version = "0.0.5";
|
||||
version = "0.0.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -19,15 +19,15 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "octodns";
|
||||
repo = "octodns-powerdns";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-jt0+JnpCgvsoqMcC9mANX7uq2WPTiI2JQjwQi7LGWj0=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-wa/SHyTfj+iHnTq8t+3yzyGn+YULOdI88Aii16qPwPM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
octodns
|
||||
requests
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user