Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sqlalchemy-mixins / default.nix
blob1a075b227913d15dd76693cd6ae4d9795c367bb3
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , nose
5 , pytestCheckHook
6 , pythonOlder
7 , six
8 , sqlalchemy
9 }:
11 buildPythonPackage rec {
12   pname = "sqlalchemy-mixins";
13   version = "2.0.5";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "absent1706";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-iJrRlV/M0Z1IOdrwWSblefm6wjvdk4/v0am+It8VeWI=";
23   };
25   propagatedBuildInputs = [
26     six
27     sqlalchemy
28   ];
30   nativeCheckInputs = [
31     nose
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "sqlalchemy_mixins"
37   ];
39   meta = with lib; {
40     description = "Python mixins for SQLAlchemy ORM";
41     homepage = "https://github.com/absent1706/sqlalchemy-mixins";
42     changelog = "https://github.com/absent1706/sqlalchemy-mixins/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };