mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
36 lines
683 B
Nix
36 lines
683 B
Nix
{ lib
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, sqlite
|
|
, stdenv
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "sqlite_orm";
|
|
version = "1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fnc12";
|
|
repo = "sqlite_orm";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-jgRCYOtCyXj2E5J3iYBffX2AyBwvhune+i4Pb2eCBrA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
sqlite
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = with lib; {
|
|
description = "Light header only SQLite ORM";
|
|
homepage = "https://sqliteorm.com/";
|
|
license = licenses.agpl3Only; # MIT license is commercial
|
|
maintainers = with maintainers; [ ambroisie ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|