2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, python, buildPythonPackage, fetchPypi }:
|
2019-11-25 20:35:16 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pony";
|
2020-11-29 15:04:36 +01:00
|
|
|
version = "0.7.14";
|
2019-11-25 20:35:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 15:04:36 +01:00
|
|
|
sha256 = "2f01e84e79ea7a14040225cb6c079bb266e7ba147346356c266490b18c77ce82";
|
2019-11-25 20:35:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
# stripping the tests
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/${python.sitePackages}/pony/orm/tests
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-11-25 20:35:16 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|