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

buildPythonPackage rec {
  pname = "userpath";
  version = "1.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256="1xpgdmdvhmmmdlivsqlzx1xvyj0gcnfp0j2ba5izmv3q2k5abfdj";
  };

  propagatedBuildInputs = [ click ];

  # test suite is difficult to emulate in sandbox due to shell manipulation
  doCheck = false;

  pythonImportsCheck = [ "click" "userpath" ];

  meta = with lib; {
    description = "Cross-platform tool for adding locations to the user PATH";
    homepage = "https://github.com/ofek/userpath";
    license = [ licenses.asl20 licenses.mit ];
    maintainers = with maintainers; [ yevhenshymotiuk ];
  };
}