depot/pkgs/development/libraries/qjson/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

23 lines
531 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, qtbase }:
stdenv.mkDerivation rec {
version = "0.9.0";
pname = "qjson";
src = fetchFromGitHub {
owner = "flavio";
repo = "qjson";
rev = version;
sha256 = "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase ];
dontWrapQtApps = true;
meta = with lib; {
description = "Lightweight data-interchange format";
homepage = "https://qjson.sourceforge.net/";
license = licenses.lgpl21;
};
}