Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / minimock / default.nix
blob5bd48301e8ec1536911a6c6609bb5a94791043d0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , setuptools
6 }:
8 buildPythonPackage rec {
9   pname = "minimock";
10   version = "1.3.0";
11   format = "pyproject";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "lowks";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-Ut3iKc7Sr28uGgWCV3K3CS+gBta2icvbUPMjjo4fflU=";
20   };
22   nativeBuildInputs = [
23     setuptools
24   ];
26   # Module has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "minimock"
31   ];
33   meta = with lib; {
34     description = "A minimalistic mocking library";
35     homepage = "https://pypi.python.org/pypi/MiniMock";
36     license = licenses.mit;
37     maintainers = with maintainers; [ drewrisinger ];
38   };