about summary refs log tree commit diff
path: root/pkgs/development/python-modules/heapdict/default.nix
blob: 658d94aae9272bbe6435c1761f18b586189588a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy3k,
}:

buildPythonPackage rec {
  pname = "heapdict";
  version = "1.0.1";

  src = fetchPypi {
    pname = "HeapDict";
    inherit version;
    sha256 = "8495f57b3e03d8e46d5f1b2cc62ca881aca392fd5cc048dc0aa2e1a6d23ecdb6";
  };

  doCheck = !isPy3k;

  meta = with lib; {
    description = "a heap with decrease-key and increase-key operations";
    homepage = "http://stutzbachenterprises.com";
    license = licenses.bsd3;
    maintainers = with maintainers; [ teh ];
  };
}