1 { lib, buildPythonApplication, fetchPypi, dnspython, pytestCheckHook }:
3 buildPythonApplication rec {
9 sha256 = "0va7nkbdjgzrf7fnbxkh1140pbc62wyj86rdrrh5wmg3phiziqkb";
12 propagatedBuildInputs = [ dnspython ];
14 nativeCheckInputs = [ pytestCheckHook ];
17 echo example.org > simple.list
18 python -m nxdomain --format dnsmasq --out dnsmasq.conf --simple ./simple.list
19 grep -q 'address=/example.org/' dnsmasq.conf
23 homepage = "https://github.com/zopieux/nxdomain";
24 description = "A domain (ad) block list creator";
25 platforms = platforms.all;
26 license = licenses.gpl3Only;
27 maintainers = with maintainers; [ zopieux ];