1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/python-modules/pony/default.nix

26 lines
595 B
Nix
Raw Normal View History

{ lib, python, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pony";
2020-11-29 14:04:36 +00:00
version = "0.7.14";
src = fetchPypi {
inherit pname version;
2020-11-29 14:04:36 +00:00
sha256 = "2f01e84e79ea7a14040225cb6c079bb266e7ba147346356c266490b18c77ce82";
};
doCheck = true;
# stripping the tests
postInstall = ''
rm -rf $out/${python.sitePackages}/pony/orm/tests
'';
meta = with lib; {
description = "Pony is a Python ORM with beautiful query syntax";
homepage = "https://ponyorm.org/";
maintainers = with maintainers; [ d-goldin xvapx ];
license = licenses.asl20;
};
}