My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/localzone/default.nix

34 lines
652 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, dnspython
, sphinx
, pytest
}:
buildPythonPackage rec {
pname = "localzone";
version = "0.9.8";
src = fetchFromGitHub {
owner = "ags-slc";
repo = pname;
rev = "v${version}";
sha256 = "1cbiv21yryjqy46av9hbjccks95sxznrx8nypd3yzihf1vkjiq5a";
};
propagatedBuildInputs = [ dnspython sphinx ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "A simple DNS library for managing zone files";
homepage = "https://localzone.iomaestro.com";
license = licenses.bsd3;
maintainers = with maintainers; [ flyfloh ];
};
}