1{ stdenv, python, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "pony";
5 version = "0.7.13";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1fqc45m106xfy4hhzzwb8p7s2fh5x2x7s143dib84lbszqwp77la";
10 };
11
12 doCheck = true;
13
14 # stripping the tests
15 postInstall = ''
16 rm -rf $out/${python.sitePackages}/pony/orm/tests
17 '';
18
19 meta = with stdenv.lib; {
20 description = "Pony is a Python ORM with beautiful query syntax";
21 homepage = "https://ponyorm.org/";
22 maintainers = with maintainers; [ d-goldin xvapx ];
23 license = licenses.asl20;
24 };
25}