mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
47 lines
937 B
Nix
47 lines
937 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
dataproperty,
|
|
mbstrdecoder,
|
|
pathvalidate,
|
|
sqliteschema,
|
|
setuptools,
|
|
tabledata,
|
|
typepy,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "SimpleSQLite";
|
|
version = "1.5.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thombashi";
|
|
repo = "SimpleSQLite";
|
|
tag = "v${version}";
|
|
hash = "sha256-PObyZmmECxp6keRymYFGi4Uf07yNHu6rUIqSrRx2bPE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
dataproperty
|
|
mbstrdecoder
|
|
pathvalidate
|
|
sqliteschema
|
|
tabledata
|
|
typepy
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
pythonImportsCheck = [ "simplesqlite" ];
|
|
|
|
meta = {
|
|
description = "Python library to simplify SQLite database operations";
|
|
homepage = "https://github.com/thombashi/simplesqlite";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ henrirosten ];
|
|
};
|
|
}
|