depot/third_party/nixpkgs/pkgs/development/python-modules/pony/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
593 B
Nix

{ stdenv, python, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pony";
version = "0.7.13";
src = fetchPypi {
inherit pname version;
sha256 = "1fqc45m106xfy4hhzzwb8p7s2fh5x2x7s143dib84lbszqwp77la";
};
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/";
maintainers = with maintainers; [ d-goldin xvapx ];
license = licenses.asl20;
};
}