Files
nixpkgs/pkgs/development/python-modules/sqlalchemy-json/default.nix
Kerstin Humm e45e3313af pythonPackages.sqlalchemy-json: init at 0.7.0
Co-Authored-By: Auguste Baum <auguste.apple@gmail.com>
2024-11-21 20:28:03 +01:00

38 lines
852 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
sqlalchemy,
}:
let
version = "0.7.0";
in
buildPythonPackage {
pname = "sqlalchemy-json";
inherit version;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "edelooff";
repo = "sqlalchemy-json";
rev = "refs/tags/v${version}";
hash = "sha256-Is3DznojvpWYFSDutzCxRLceQMIiS3ZIg0c//MIOF+s=";
};
propagatedBuildInputs = [ sqlalchemy ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Full-featured JSON type with mutation tracking for SQLAlchemy";
homepage = "https://github.com/edelooff/sqlalchemy-json";
changelog = "https://github.com/edelooff/sqlalchemy-json/tree/v${version}#changelog";
license = licenses.bsd2;
maintainers = with maintainers; [ augustebaum ];
};
}