mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 17:42:45 +00:00
lexicon: init at 3.3.17
This commit is contained in:
parent
a614706219
commit
50ad81d76b
31
pkgs/tools/admin/lexicon/default.nix
Normal file
31
pkgs/tools/admin/lexicon/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "lexicon";
|
||||
version = "3.3.17";
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ requests tldextract future cryptography pyyaml boto3 zeep xmltodict beautifulsoup4 dnspython pynamecheap softlayer transip localzone ];
|
||||
|
||||
checkInputs = with python3Packages; [ pytest pytestcov pytest_xdist vcrpy mock ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest --ignore=lexicon/tests/providers/test_auto.py
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AnalogJ";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1wrsw759am6yp2m9b34iv82m371df3ssp2vhdjr18ys3xk7dvj89";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Manipulate DNS records on various DNS providers in a standardized way.";
|
||||
homepage = https://github.com/AnalogJ/lexicon;
|
||||
maintainers = with maintainers; [ flyfloh ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -1907,6 +1907,8 @@ in
|
|||
|
||||
lepton = callPackage ../tools/graphics/lepton { };
|
||||
|
||||
lexicon = callPackage ../tools/admin/lexicon { };
|
||||
|
||||
lief = callPackage ../development/libraries/lief {};
|
||||
|
||||
libndtypes = callPackage ../development/libraries/libndtypes { };
|
||||
|
|
Loading…
Reference in a new issue