File tree Expand file tree Collapse file tree 2 files changed +35
-31
lines changed
pkgs/tools/networking/octodns Expand file tree Collapse file tree 2 files changed +35
-31
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , buildPythonPackage
3- , fetchFromGitHub
4- , pythonOlder
5- , setuptools
6- , pytestCheckHook
7- , dnspython
8- , fqdn
9- , idna
10- , natsort
11- , python-dateutil
12- , pyyaml
13- , python
14- , runCommand
1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ dnspython ,
5+ fetchFromGitHub ,
6+ fqdn ,
7+ idna ,
8+ natsort ,
9+ pytestCheckHook ,
10+ python-dateutil ,
11+ python3 ,
12+ pythonOlder ,
13+ pyyaml ,
14+ runCommand ,
15+ setuptools ,
1516} :
1617
1718buildPythonPackage rec {
1819 pname = "octodns" ;
19- version = "1.4.0 " ;
20+ version = "1.9.1 " ;
2021 pyproject = true ;
2122
2223 disabled = pythonOlder "3.8" ;
2324
2425 src = fetchFromGitHub {
2526 owner = "octodns" ;
2627 repo = "octodns" ;
27- rev = "v${ version } " ;
28- hash = "sha256-l4JGodbUmFxHFeEaxgClEozHcbyYP0F2yj5gDqV88IA =" ;
28+ rev = "refs/tags/ v${ version } " ;
29+ hash = "sha256-5EKa5G1rX/BRMMpGd861qTaACa2tBgNrKX52uJPV+N8 =" ;
2930 } ;
3031
31- nativeBuildInputs = [
32+ build-system = [
3233 setuptools
3334 ] ;
3435
35- propagatedBuildInputs = [
36+ dependencies = [
3637 dnspython
3738 fqdn
3839 idna
@@ -47,18 +48,21 @@ buildPythonPackage rec {
4748
4849 pythonImportsCheck = [ "octodns" ] ;
4950
50- passthru . withProviders = ps : let
51- pyEnv = python . withPackages ps ;
52- in runCommand "octodns-with-providers" { } ''
53- mkdir -p $out/bin
54- ln -st $out/bin ${ pyEnv } /bin/octodns-*
55- '' ;
51+ passthru . withProviders =
52+ ps :
53+ let
54+ pyEnv = python3 . withPackages ps ;
55+ in
56+ runCommand "octodns-with-providers" { } ''
57+ mkdir -p $out/bin
58+ ln -st $out/bin ${ pyEnv } /bin/octodns-*
59+ '' ;
5660
5761 meta = with lib ; {
5862 description = "Tools for managing DNS across multiple providers" ;
5963 homepage = "https://github.com/octodns/octodns" ;
6064 changelog = "https://github.com/octodns/octodns/blob/${ src . rev } /CHANGELOG.md" ;
6165 license = licenses . mit ;
62- maintainers = [ ] ;
66+ maintainers = [ maintainers . anthonyroussel ] ;
6367 } ;
6468}
Original file line number Diff line number Diff line change 1111
1212buildPythonPackage rec {
1313 pname = "octodns-powerdns" ;
14- version = "0.0.5 " ;
14+ version = "0.0.7 " ;
1515 pyproject = true ;
1616
1717 disabled = pythonOlder "3.8" ;
1818
1919 src = fetchFromGitHub {
2020 owner = "octodns" ;
2121 repo = "octodns-powerdns" ;
22- rev = "v${ version } " ;
23- hash = "sha256-jt0+JnpCgvsoqMcC9mANX7uq2WPTiI2JQjwQi7LGWj0 =" ;
22+ rev = "refs/tags/ v${ version } " ;
23+ hash = "sha256-wa/SHyTfj+iHnTq8t+3yzyGn+YULOdI88Aii16qPwPM =" ;
2424 } ;
2525
26- nativeBuildInputs = [
26+ build-system = [
2727 setuptools
2828 ] ;
2929
30- propagatedBuildInputs = [
30+ dependencies = [
3131 octodns
3232 requests
3333 ] ;
You can’t perform that action at this time.
0 commit comments