pythonPackages.attrdict: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 11:35:57 +02:00 committed by Frederik Rietdijk
parent db6d615e6e
commit 4e2d86cf7f
2 changed files with 20 additions and 16 deletions

View File

@ -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;
};
}

View File

@ -564,22 +564,7 @@ in {
astroid = callPackage ../development/python-modules/astroid { };
attrdict = buildPythonPackage (rec {
name = "attrdict-2.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/a/attrdict/${name}.tar.gz";
sha256 = "86aeb6d3809e0344409f8148d7cac9eabce5f0b577c160b5e90d10df3f8d2ad3";
};
propagatedBuildInputs = with self; [ coverage nose six ];
meta = {
description = "A dict with attribute-style access";
homepage = https://github.com/bcj/AttrDict;
license = licenses.mit;
};
});
attrdict = callPackage ../development/python-modules/attrdict { };
attrs = callPackage ../development/python-modules/attrs { };