1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-30 13:05:15 +03:00
nixpkgs/pkgs/development/python-modules/python-sql/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
635 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
, pythonOlder
}:
2017-02-18 21:00:22 +01:00
buildPythonPackage rec {
pname = "python-sql";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2020-01-10 12:17:37 -08:00
src = fetchPypi {
inherit pname version;
hash = "sha256-b+dkCC9IiR2Ffqfm+kJfpU8TUx3fa4nyTAmOZGrRtLY=";
2017-02-18 21:00:22 +01:00
};
2020-01-10 12:17:37 -08:00
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sql"
];
meta = with lib; {
description = "Library to write SQL queries in a pythonic way";
homepage = "https://pypi.org/project/python-sql/";
license = licenses.bsd3;
maintainers = with maintainers; [ johbo ];
2017-02-18 21:00:22 +01:00
};
}