nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiomisc,
4 buildPythonPackage,
5 fetchPypi,
6 poetry-core,
7 pytest,
8}:
9
10buildPythonPackage rec {
11 pname = "aiomisc-pytest";
12 version = "1.3.4";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "aiomisc_pytest";
17 inherit version;
18 hash = "sha256-9Of1pSUcMiIhkz7OW5erF4oDlf/ABkaamDBPg7+WbBE=";
19 };
20
21 build-system = [ poetry-core ];
22
23 pythonRelaxDeps = [ "pytest" ];
24
25 buildInputs = [ pytest ];
26
27 dependencies = [ aiomisc ];
28
29 pythonImportsCheck = [ "aiomisc_pytest" ];
30
31 # Module has no tests
32 doCheck = false;
33
34 meta = {
35 description = "Pytest integration for aiomisc";
36 homepage = "https://github.com/aiokitchen/aiomisc-pytest";
37 license = lib.licenses.asl20;
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}