Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
801 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, pythonAtLeast}:
buildPythonPackage rec { pname = "pony"; version = "0.7.17"; format = "setuptools";
disabled = pythonOlder "3.8" || pythonAtLeast "3.12";
src = fetchFromGitHub { owner = "ponyorm"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-wBqw+YHKlxYplgsYL1pbkusHyPfCaVPcH/Yku6WDYbE="; };
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Tests are outdated "test_method" ];
pythonImportsCheck = [ "pony" ];
meta = with lib; { description = "Library for advanced object-relational mapping"; homepage = "https://ponyorm.org/"; license = licenses.asl20; maintainers = with maintainers; [ d-goldin xvapx ]; };}