2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-04-11 06:31:25 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, nose
|
|
|
|
, coverage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aadict";
|
|
|
|
version = "0.2.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "013pn9ii6mkql6khgdvsd1gi7zmya418fhclm5fp7dfvann2hwx7";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ nose coverage ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-11 06:31:25 +02:00
|
|
|
homepage = "https://github.com/metagriffin/aadict";
|
|
|
|
description = "An auto-attribute dict (and a couple of other useful dict functions).";
|
|
|
|
maintainers = with maintainers; [ glittershark ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|