git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.tabulate: move expression
commit416a975f74b965425831e829047f45f7e1502a11 authorFrederik Rietdijk <fridh@fridh.nl> dateSun 29 Oct 2017, 13:44 (9 years ago) parent5c2d2cb
2 files changed+29−23
pkgs/development/python-modules/tabulate/default.nix+28 pkgs/top-level/python-packages.nix+1−23
pkgs/development/python-modules/tabulate/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, nose
5+}:
6+
7+buildPythonPackage rec {
8+ version = "0.7.7";
9+ pname = "tabulate";
10+ name = "${pname}-${version}";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6";
15+ };
16+
17+ checkInputs = [ nose ];
18+
19+ # Tests: cannot import common (relative import).
20+ doCheck = false;
21+
22+ meta = {
23+ description = "Pretty-print tabular data";
24+ homepage = https://bitbucket.org/astanin/python-tabulate;
25+ license = lib.licenses.mit;
26+ maintainers = with lib.maintainers; [ fridh ];
27+ };
28+}
pkgs/top-level/python-packages.nix+1−23
@@ -20714,29 +20714,7 @@ in {
2071420714 inherit (pkgs) pkgconfig systemd;
2071520715 };
2071620716
20717− tabulate = buildPythonPackage rec {
20718− version = "0.7.7";
20719− pname = "tabulate";
20720− name = "${pname}-${version}";
20721−
20722− src = fetchPypi {
20723− inherit pname version;
20724− sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6";
20725− };
20726−
20727− buildInputs = with self; [ nose ];
20728−
20729− # Tests: cannot import common (relative import).
20730− doCheck = false;
20731−
20732− meta = {
20733− description = "Pretty-print tabular data";
20734− homepage = https://bitbucket.org/astanin/python-tabulate;
20735− license = licenses.mit;
20736− maintainers = with maintainers; [ fridh ];
20737− };
20738−
20739− };
20717+ tabulate = callPackage ../development/python-modules/tabulate { };
2074020718
2074120719 targetcli_fb = buildPythonPackage rec {
2074220720 version = "2.1.fb33";