about summary refs log tree commit diff
path: root/pkgs/development/python-modules/multipledispatch/default.nix
blob: 2fab50a63f042042e2d4754c100ce68d14e972da (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
27
{ lib
, buildPythonPackage
, fetchPypi
, six
}:

buildPythonPackage rec {
  pname = "multipledispatch";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-XIOZFUZcaCBsPpxHM1eQghbCg4O0JTYeXRRFlL+Fp+A=";
  };

  # No tests in archive
  doCheck = false;

  propagatedBuildInputs = [ six ];

  meta = {
    homepage = "https://github.com/mrocklin/multipledispatch/";
    description = "A relatively sane approach to multiple dispatch in Python";
    license = lib.licenses.bsd3;
  };
}