1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
41 lines
758 B
Nix
41 lines
758 B
Nix
{
|
|
lib,
|
|
aiomisc,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiomisc-pytest";
|
|
version = "1.3.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "aiomisc_pytest";
|
|
inherit version;
|
|
hash = "sha256-9Of1pSUcMiIhkz7OW5erF4oDlf/ABkaamDBPg7+WbBE=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
pythonRelaxDeps = [ "pytest" ];
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
dependencies = [ aiomisc ];
|
|
|
|
pythonImportsCheck = [ "aiomisc_pytest" ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Pytest integration for aiomisc";
|
|
homepage = "https://github.com/aiokitchen/aiomisc-pytest";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|