depot/third_party/nixpkgs/pkgs/development/python-modules/jaydebeapi/default.nix

27 lines
548 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
jpype1,
}:
buildPythonPackage rec {
pname = "jaydebeapi";
version = "1.2.3";
format = "setuptools";
src = fetchPypi {
pname = "JayDeBeApi";
inherit version;
sha256 = "f25e9307fbb5960cb035394c26e37731b64cc465b197c4344cee85ec450ab92f";
};
propagatedBuildInputs = [ jpype1 ];
meta = with lib; {
homepage = "https://github.com/baztian/jaydebeapi";
license = licenses.lgpl2;
description = "Use JDBC database drivers from Python 2/3 or Jython with a DB-API";
};
}