mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
python3Packages.beautifultable: init at 1.0.1
This commit is contained in:
parent
3cee82ace3
commit
0681bd9e9a
32
pkgs/development/python-modules/beautifultable/default.nix
Normal file
32
pkgs/development/python-modules/beautifultable/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beautifultable";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pri22296";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "12ci6jy8qmbphsvzvj98466nlhclfzs0a0pmbsv3mf5bfcdwvbh7";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "test.py" ];
|
||||
|
||||
pythonImportsCheck = [ "beautifultable" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package for printing visually appealing tables";
|
||||
homepage = "https://github.com/CERT-Polska/mwdblib";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -992,6 +992,8 @@ in {
|
|||
|
||||
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
|
||||
|
||||
beautifultable = callPackage ../development/python-modules/beautifultable { };
|
||||
|
||||
bedup = callPackage ../development/python-modules/bedup { };
|
||||
|
||||
behave = callPackage ../development/python-modules/behave { };
|
||||
|
|
Loading…
Reference in a new issue