2019-11-25 20:35:16 +01:00
|
|
|
{ stdenv, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pony";
|
2020-04-07 07:13:20 +02:00
|
|
|
version = "0.7.13";
|
2019-11-25 20:35:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-07 07:13:20 +02:00
|
|
|
sha256 = "1fqc45m106xfy4hhzzwb8p7s2fh5x2x7s143dib84lbszqwp77la";
|
2019-11-25 20:35:16 +01: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 22:38:03 +01:00
|
|
|
maintainers = with maintainers; [ d-goldin xvapx ];
|
2019-11-25 20:35:16 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|