depot/third_party/nixpkgs/pkgs/development/python-modules/sqlalchemy-mixins/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

46 lines
904 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, pytestCheckHook
, pythonOlder
, six
, sqlalchemy
}:
buildPythonPackage rec {
pname = "sqlalchemy-mixins";
version = "2.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "absent1706";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Ftpw3oDVu7Vdcwj7+a1G9cPeVUAEPggtozlvWioENIA=";
};
propagatedBuildInputs = [
six
sqlalchemy
];
nativeCheckInputs = [
nose
pytestCheckHook
];
pythonImportsCheck = [
"sqlalchemy_mixins"
];
meta = with lib; {
description = "Python mixins for SQLAlchemy ORM";
homepage = "https://github.com/absent1706/sqlalchemy-mixins";
changelog = "https://github.com/absent1706/sqlalchemy-mixins/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}