mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
35 lines
683 B
Nix
35 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;
|
|
};
|
|
})
|