1{ stdenv, buildPythonPackage, fetchPypi, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "HeapDict"; 5 version = "1.0.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0nhvxyjq6fp6zd7jzmk5x4fg6xhakqx9lhkp5yadzkqn0rlf7ja0"; 10 }; 11 12 doCheck = !isPy3k; 13 14 meta = with stdenv.lib; { 15 description = "a heap with decrease-key and increase-key operations."; 16 homepage = http://stutzbachenterprises.com; 17 license = licenses.bsd3; 18 maintainers = with maintainers; [ teh ]; 19 }; 20}