2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-04-11 05:31:25 +01: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 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-11 05:31:25 +01: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;
|
|
|
|
};
|
|
|
|
}
|