3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/localzone/default.nix

35 lines
660 B
Nix
Raw Normal View History

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