pythonPackages.attrdict: Move to own file
This commit is contained in:
parent
db6d615e6e
commit
4e2d86cf7f
19
pkgs/development/python-modules/attrdict/default.nix
Normal file
19
pkgs/development/python-modules/attrdict/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user