at 22.05-pre 595 B view raw
1{ lib, python, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "pony"; 5 version = "0.7.14"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "2f01e84e79ea7a14040225cb6c079bb266e7ba147346356c266490b18c77ce82"; 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 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}