summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/first/default.nix
blob: da34ea1db7e89a1c87f3d53ad47b93a2cff87840 (plain)
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
28
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "first";
  version = "2.0.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-/yhbCMVfjJfOTqcBJ0OvJJXJ8SkXhfFjcivTb2r2078=";
  };

  doCheck = false; # no tests

  pythonImportsCheck = [ "first" ];

  meta = {
    description = "Function you always missed in Python";
    homepage = "https://github.com/hynek/first/";
    changelog = "https://github.com/hynek/first/blob/${version}/HISTORY.rst";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ zimbatm ];
  };
}