depot/third_party/nixpkgs/pkgs/development/python-modules/pony/default.nix
Default email 4cb23072fc Project import generated by Copybara.
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
2022-01-20 00:45:15 +01:00

42 lines
773 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pony";
version = "0.7.15rc1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ponyorm";
repo = pname;
rev = "v${version}";
hash = "sha256-EoMpVvPCwxJbNPoeF73djcaQ4lY9jRx5nJYR2A2LXoQ=";
};
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Tests are outdated
"test_exception_msg"
"test_method"
];
pythonImportsCheck = [
"pony"
];
meta = with lib; {
description = "Library for advanced object-relational mapping";
homepage = "https://ponyorm.org/";
license = licenses.asl20;
maintainers = with maintainers; [ d-goldin xvapx ];
};
}