mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
octodns: 1.4.0 -> 1.9.1
https://github.com/octodns/octodns/compare/v1.4.0...v1.9.1
This commit is contained in:
parent
c083125fd4
commit
8c2c39098e
@ -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,12 +48,15 @@ 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";
|
||||
|
Loading…
Reference in New Issue
Block a user