2021-02-05 17:12:51 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pony";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "0.7.14";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "2f01e84e79ea7a14040225cb6c079bb266e7ba147346356c266490b18c77ce82";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
# stripping the tests
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/${python.sitePackages}/pony/orm/tests
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Pony is a Python ORM with beautiful query syntax";
|
|
|
|
homepage = "https://ponyorm.org/";
|
|
|
|
maintainers = with maintainers; [ d-goldin xvapx ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|