blob: 8366a56158ddee36e477cbc191105b162634bf10 (
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
29
30
|
{ lib
, buildPythonPackage
, fetchPypi
, click
, distro
}:
buildPythonPackage rec {
pname = "userpath";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256="0mfjmvx286z1dmnrc7bm65x8gj8qrmkcyagl0vf5ywfq0bm48591";
};
propagatedBuildInputs = [ click distro ];
# 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 ];
};
}
|