about summary refs log tree commit diff
path: root/pkgs/development/python-modules/first/default.nix
blob: 0e75f61a9f706b9dd4c0251db274d7eae566b198 (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
28
29
30
31
32
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

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

  disabled = pythonOlder "3.7";

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

  doCheck = false; # no tests

  pythonImportsCheck = [
    "first"
  ];

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