{ cmake
, fetchFromGitHub
, lib
, stdenv
}:

stdenv.mkDerivation rec {
  pname = "libowlevelzs";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "zseri";
    repo = "libowlevelzs";
    rev = "v${version}";
    sha256 = "y/EaMMsmJEmnptfjwiat4FC2+iIKlndC2Wdpop3t7vY=";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    description = "Zscheile Lowlevel (utility) library";
    homepage = "https://github.com/zseri/libowlevelzs";
    license = licenses.mit;
    maintainers = with maintainers; [ zseri ];
    platforms = platforms.all;
  };
}