mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
pythonPackages.veryprettytable: refactor move to python-modules
This commit is contained in:
parent
dcd9daa561
commit
d241cc3a65
25
pkgs/development/python-modules/veryprettytable/default.nix
Normal file
25
pkgs/development/python-modules/veryprettytable/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, termcolor
|
||||
, colorama
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "veryprettytable";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ termcolor colorama ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
|
||||
homepage = https://github.com/smeggingsmegger/VeryPrettyTable;
|
||||
license = licenses.free;
|
||||
};
|
||||
|
||||
}
|
|
@ -4296,23 +4296,7 @@ in {
|
|||
|
||||
versiontools = callPackage ../development/python-modules/versiontools { };
|
||||
|
||||
veryprettytable = buildPythonPackage rec {
|
||||
name = "veryprettytable-${version}";
|
||||
version = "0.8.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/v/veryprettytable/${name}.tar.gz";
|
||||
sha256 = "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ self.termcolor self.colorama ];
|
||||
|
||||
meta = {
|
||||
description = "A simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
|
||||
homepage = https://github.com/smeggingsmegger/VeryPrettyTable;
|
||||
license = licenses.free;
|
||||
};
|
||||
};
|
||||
veryprettytable = callPackage ../development/python-modules/veryprettytable { };
|
||||
|
||||
graphite-web = callPackage ../development/python-modules/graphite-web { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue