nixpkgs/pkgs/development/nim-packages/tkrzw/default.nix

20 lines
590 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 ];
meta = with lib;
src.meta // {
description = "Nim wrappers over some of the Tkrzw C++ library";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ehmry ];
};
}