git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.beautifultable: init at 1.0.1
commit0681bd9e9a7d9619096d7e92644d0a2ccb75b625 authorFabian Affolter <mail@fabian-affolter.ch> dateThu 15 Apr 2021, 23:58 (6 years ago) parent3cee82a
2 files changed+34
pkgs/development/python-modules/beautifultable/default.nix+32 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/beautifultable/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pytestCheckHook
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "beautifultable";
9+ version = "1.0.1";
10+
11+ src = fetchFromGitHub {
12+ owner = "pri22296";
13+ repo = pname;
14+ rev = "v${version}";
15+ sha256 = "12ci6jy8qmbphsvzvj98466nlhclfzs0a0pmbsv3mf5bfcdwvbh7";
16+ };
17+
18+ checkInputs = [
19+ pytestCheckHook
20+ ];
21+
22+ pytestFlagsArray = [ "test.py" ];
23+
24+ pythonImportsCheck = [ "beautifultable" ];
25+
26+ meta = with lib; {
27+ description = "Python package for printing visually appealing tables";
28+ homepage = "https://github.com/CERT-Polska/mwdblib";
29+ license = with licenses; [ mit ];
30+ maintainers = with maintainers; [ fab ];
31+ };
32+}
pkgs/top-level/python-packages.nix+2
@@ -992,6 +992,8 @@ in {
992992
993993 beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
994994
995+ beautifultable = callPackage ../development/python-modules/beautifultable { };
996+
995997 bedup = callPackage ../development/python-modules/bedup { };
996998
997999 behave = callPackage ../development/python-modules/behave { };