4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
42 lines
773 B
Nix
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 ];
|
|
};
|
|
}
|