nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 cmake,
4 fetchFromGitHub,
5 sqlite,
6 stdenv,
7}:
8stdenv.mkDerivation (finalAttrs: {
9 pname = "sqlite_orm";
10 version = "1.9.1";
11
12 src = fetchFromGitHub {
13 owner = "fnc12";
14 repo = "sqlite_orm";
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-tlmUYHH0V4qsKSTdrg/OrS9eOEseIDAIU/HN8YK36go=";
17 };
18
19 nativeBuildInputs = [
20 cmake
21 ];
22
23 propagatedBuildInputs = [
24 sqlite
25 ];
26
27 strictDeps = true;
28
29 meta = {
30 description = "Light header only SQLite ORM";
31 homepage = "https://sqliteorm.com/";
32 license = lib.licenses.agpl3Only; # MIT license is commercial
33 maintainers = with lib.maintainers; [ ambroisie ];
34 platforms = lib.platforms.all;
35 };
36})