forked from mirrors/nixpkgs
c68bc50e42
pony is an ORM library. The main motivation for adding this package is to allow migrating tribler to a newer version that supports python3. Also adding myself to maintainers to not leave this one without, even though I dont use it myself much, if anybody else feels like it fits their interests, feel free to add yourselves.
26 lines
587 B
Nix
26 lines
587 B
Nix
{ 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/";
|
|
maintainers = with maintainers; [ d-goldin ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|