2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, python, buildPythonPackage, fetchPypi }:
|
2019-11-25 19:35:16 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pony";
|
2020-11-29 14:04:36 +00:00
|
|
|
version = "0.7.14";
|
2019-11-25 19:35:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:36 +00:00
|
|
|
sha256 = "2f01e84e79ea7a14040225cb6c079bb266e7ba147346356c266490b18c77ce82";
|
2019-11-25 19:35:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
# stripping the tests
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/${python.sitePackages}/pony/orm/tests
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-25 19:35:16 +00:00
|
|
|
description = "Pony is a Python ORM with beautiful query syntax";
|
|
|
|
homepage = "https://ponyorm.org/";
|
2019-11-28 21:38:03 +00:00
|
|
|
maintainers = with maintainers; [ d-goldin xvapx ];
|
2019-11-25 19:35:16 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|