From 51f401f04eebd317cfee0d8f71de41fb437f79be Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 5 Aug 2019 14:03:23 -0700 Subject: [PATCH] unittest-data-providers: init at 1.0.1 --- .../unittest-data-provider/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/unittest-data-provider/default.nix diff --git a/pkgs/development/python-modules/unittest-data-provider/default.nix b/pkgs/development/python-modules/unittest-data-provider/default.nix new file mode 100644 index 000000000000..ec34a451156d --- /dev/null +++ b/pkgs/development/python-modules/unittest-data-provider/default.nix @@ -0,0 +1,21 @@ +{ buildPythonPackage +, lib +, fetchPypi +}: + +buildPythonPackage rec { + version = "1.0.1"; + pname = "unittest-data-provider"; + + src = fetchPypi { + inherit pname version; + sha256 = "1gn2ka4vqpayx4cpbp8712agqjh3wdpk9smdxnp709ccc2v7zg46"; + }; + + meta = with lib; { + description = "PHPUnit-like @dataprovider decorator for unittest"; + homepage = https://github.com/yourlabs/unittest-data-provider; + license = licenses.mit; + maintainers = with maintainers; [ jonringer ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 677fea42b6f5..740aac58fb39 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5330,6 +5330,8 @@ in { units = callPackage ../development/python-modules/units { }; + unittest-data-provider = callPackage ../development/python-modules/unittest-data-provider { }; + unittest2 = callPackage ../development/python-modules/unittest2 { }; unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };