diff options
author | James Kay <james@hadean.com> | 2018-11-29 11:01:43 +0000 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-08 14:43:28 -0500 |
commit | ca4104cc07916f3ccad1e7b6381413f124e8182c (patch) | |
tree | bbcf7f7953468e1f5bdc92c839c94cc947f03482 /pkgs/development/python-modules/boltons | |
parent | 3bc377267794b23de1107c28b1b19cd7fbf535fe (diff) | |
download | nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.tar nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.tar.gz nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.tar.bz2 nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.tar.lz nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.tar.xz nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.tar.zst nixpkgs-ca4104cc07916f3ccad1e7b6381413f124e8182c.zip |
pythonPackages.boltons: init at 2019-01-07
Diffstat (limited to 'pkgs/development/python-modules/boltons')
-rw-r--r-- | pkgs/development/python-modules/boltons/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/boltons/default.nix b/pkgs/development/python-modules/boltons/default.nix new file mode 100644 index 00000000000..655af7c66f2 --- /dev/null +++ b/pkgs/development/python-modules/boltons/default.nix @@ -0,0 +1,39 @@ +{ stdenv, buildPythonPackage, fetchFromGitHub, pytest }: + +buildPythonPackage rec { + pname = "boltons"; + version = "2019-01-07"; + + # No tests in PyPi Tarball + src = fetchFromGitHub { + owner = "mahmoud"; + repo = "boltons"; + rev = "3584ac9399f227a2a11b74153140ee171fd49783"; + sha256 = "13xngjw249sk4vmr5kqqnia0npw0kpa0gm020a4dqid0cjyvj0rv"; + }; + + checkInputs = [ pytest ]; + checkPhase = "pytest tests"; + + meta = with stdenv.lib; { + homepage = https://github.com/mahmoud/boltons; + description = "220+ constructs, recipes, and snippets extending (and relying on nothing but) the Python standard library"; + longDescription = '' + Boltons is a set of over 220 BSD-licensed, pure-Python utilities + in the same spirit as — and yet conspicuously missing from — the + standard library, including: + + - Atomic file saving, bolted on with fileutils + - A highly-optimized OrderedMultiDict, in dictutils + - Two types of PriorityQueue, in queueutils + - Chunked and windowed iteration, in iterutils + - Recursive data structure iteration and merging, with iterutils.remap + - Exponential backoff functionality, including jitter, through + iterutils.backoff + - A full-featured TracebackInfo type, for representing stack + traces, in tbutils + ''; + license = licenses.bsd3; + maintainers = with maintainers; [ twey ]; + }; +} |