1 { lib, buildNimPackage, fetchFromSourcehut, pkg-config, getdns }:
6 src = fetchFromSourcehut {
10 hash = "sha256-y7yzY1PcodIK2kC9409FuTpLn0TsWHGiEPnrULrob+k=";
13 propagatedNativeBuildInputs = [ pkg-config ];
14 propagatedBuildInputs = [ getdns ];
16 checkPhase = "nim c tests/test_example_synchronous";
17 # The test requires network but check if it builds.
20 inherit (getdns.meta) homepage license platforms;
21 description = "Nim wrapper over the getdns library";
22 maintainers = with lib.maintainers; [ ehmry ];