mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-21 23:40:42 +08:00
38 lines
852 B
Nix
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 ];
|
|
};
|
|
}
|