Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 662 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, dnspython 5, sphinx 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "localzone"; 11 version = "0.9.7"; 12 13 src = fetchFromGitHub { 14 owner = "ags-slc"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "1vzn1vm3zf86l7qncbmghjrwyvla9dc2v8abn8jajbl47gm7r5f7"; 18 }; 19 20 propagatedBuildInputs = [ dnspython sphinx ]; 21 22 checkInputs = [ pytest ]; 23 24 checkPhase = '' 25 pytest 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "A simple DNS library for managing zone files"; 30 homepage = "https://localzone.iomaestro.com"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ flyfloh ]; 33 }; 34}