about summary refs log tree commit diff
path: root/pkgs/development/python-modules/attrdict
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-03-31 11:35:57 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-04 19:45:57 +0200
commit4e2d86cf7fc4b6b0452d3f256d7349868c5bf199 (patch)
tree0f99c12db59a3ffd0e731c91b0db3edf1d6783ce /pkgs/development/python-modules/attrdict
parentdb6d615e6e0c01a62b7d48ca0e2b33cb5587b2c5 (diff)
pythonPackages.attrdict: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/attrdict')
-rw-r--r--pkgs/development/python-modules/attrdict/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/attrdict/default.nix b/pkgs/development/python-modules/attrdict/default.nix
new file mode 100644
index 0000000000000..c6a9151d91113
--- /dev/null
+++ b/pkgs/development/python-modules/attrdict/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, buildPythonPackage, fetchPypi, coverage, nose, six }:
+
+buildPythonPackage rec {
+  pname = "attrdict";
+  version = "2.0.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1lrailzxy40dx6sn1hbpnpqfbg7ar75dfj41kx0480wyh39vdbl6";
+  };
+
+  propagatedBuildInputs = [ coverage nose six ];
+
+  meta = with stdenv.lib; {
+    description = "A dict with attribute-style access";
+    homepage = https://github.com/bcj/AttrDict;
+    license = licenses.mit;
+  };
+}