From 8864410439b50ec4c8fff0635a4dbf7ce8607fc4 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 24 Nov 2018 14:32:43 +0100 Subject: [PATCH] python.pkgs.flexmock: init at 0.10.2 --- .../python-modules/flexmock/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/flexmock/default.nix diff --git a/pkgs/development/python-modules/flexmock/default.nix b/pkgs/development/python-modules/flexmock/default.nix new file mode 100644 index 000000000000..b80aafe3bf2c --- /dev/null +++ b/pkgs/development/python-modules/flexmock/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytest +}: + +buildPythonPackage rec { + pname = "flexmock"; + version = "0.10.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b"; + }; + + checkInputs = [ pytest ]; + checkPhase = '' + py.test + ''; + + meta = with lib; { + description = "flexmock is a testing library for Python that makes it easy to create mocks,stubs and fakes."; + homepage = http://flexmock.readthedocs.org; + license = licenses.bsdOriginal; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 23e40d6c2508..888b20085018 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1663,6 +1663,8 @@ in { fedpkg = callPackage ../development/python-modules/fedpkg { }; + flexmock = callPackage ../development/python-modules/flexmock { }; + flit = callPackage ../development/python-modules/flit { }; flowlogs_reader = callPackage ../development/python-modules/flowlogs_reader { };