2019-11-25 19:35:16 +00:00
|
|
|
{ stdenv, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pony";
|
2020-04-07 06:13:20 +01:00
|
|
|
version = "0.7.13";
|
2019-11-25 19:35:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-07 06:13:20 +01:00
|
|
|
sha256 = "1fqc45m106xfy4hhzzwb8p7s2fh5x2x7s143dib84lbszqwp77la";
|
2019-11-25 19:35:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
# stripping the tests
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/${python.sitePackages}/pony/orm/tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|