mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
pythonPackages.sqlalchemy-json: init at 0.7.0
Co-Authored-By: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
45cc7f4181
commit
e45e3313af
37
pkgs/development/python-modules/sqlalchemy-json/default.nix
Normal file
37
pkgs/development/python-modules/sqlalchemy-json/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -15154,6 +15154,8 @@ self: super: with self; {
|
||||
|
||||
sqlalchemy-i18n = callPackage ../development/python-modules/sqlalchemy-i18n { };
|
||||
|
||||
sqlalchemy-json = callPackage ../development/python-modules/sqlalchemy-json { };
|
||||
|
||||
sqlalchemy-jsonfield = callPackage ../development/python-modules/sqlalchemy-jsonfield { };
|
||||
|
||||
sqlalchemy-mixins = callPackage ../development/python-modules/sqlalchemy-mixins { };
|
||||
|
Loading…
Reference in New Issue
Block a user