Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
867 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, dnspython, pytestCheckHook, setuptools, pythonOlder,}:
buildPythonPackage rec { pname = "localzone"; version = "0.9.8"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "ags-slc"; repo = "localzone"; tag = "v${version}"; hash = "sha256-quAo5w4Oxu9Hu96inu3vuiQ9GZMLpq0M8Vj67IPYcbE="; };
build-system = [ setuptools ];
dependencies = [ dnspython ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "localzone" ];
meta = with lib; { description = "Simple DNS library for managing zone files"; homepage = "https://localzone.iomaestro.com"; changelog = "https://github.com/ags-slc/localzone/blob/v${version}/CHANGELOG.rst"; license = licenses.bsd3; maintainers = with maintainers; [ flyfloh ]; };}