Merge pull request #74193 from d-goldin/python_init_pony
pythonPackages.pony: init at 0.7.11
This commit is contained in:
25
pkgs/development/python-modules/pony/default.nix
Normal file
25
pkgs/development/python-modules/pony/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user