nixpkgs/pkgs/development/nim-packages/tkrzw/default.nix
2023-01-03 12:17:07 -06:00

21 lines
609 B
Nix

{ lib, buildNimPackage, fetchFromSourcehut, pkg-config, tkrzw }:
buildNimPackage rec {
pname = "tkrzw";
version = "20220922";
src = fetchFromSourcehut {
owner = "~ehmry";
repo = "nim-${pname}";
rev = version;
hash = "sha256-66rUuK+wUrqs1QYjteZcaIrfg+LHQNcR+XM+EtVuGsA=";
};
propagatedNativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ tkrzw ];
doCheck = true;
meta = with lib;
src.meta // {
description = "Nim wrappers over some of the Tkrzw C++ library";
license = lib.licenses.apsl20;
maintainers = with lib.maintainers; [ ehmry ];
};
}