2019-11-25 19:35:16 +00:00
|
|
|
{ stdenv, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pony";
|
|
|
|
version = "0.7.11";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "05vyvsbcb99vjjs7qpbwy8j4m854w74z8di6zqsv8p9wbm38s06i";
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|