blob: bd7fc589a7aa4669ff484b50b5fcd15fd5269453 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "mox";
version = "0.7.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ivancrneto";
repo = "pymox";
rev = "v${version}";
hash = "sha256-gODE9IGDk3WtO8iPOlp98fGp6Ih2laA3YlOHmq62m8Y=";
};
propagatedBuildInputs = [
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mox"
];
meta = with lib; {
description = "Mock object framework";
homepage = "https://github.com/ivancrneto/pymox";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|