python3Packages.userpath: init at 1.4.1
This commit is contained in:
parent
09fe5ddad5
commit
7becd9b2ef
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/userpath/default.nix
Normal file
38
pkgs/development/python-modules/userpath/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, click
|
||||
, distro
|
||||
, tox
|
||||
, pytest
|
||||
, coverage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "userpath";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256="0mfjmvx286z1dmnrc7bm65x8gj8qrmkcyagl0vf5ywfq0bm48591";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click distro ];
|
||||
|
||||
checkInputs = [ tox pytest coverage ];
|
||||
|
||||
# We should skip tox dependencies installation to run tests but
|
||||
# tox doesn't have such an option yet (https://github.com/tox-dev/tox/issues/410)
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
tox
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -7826,6 +7826,8 @@ in {
|
|||
|
||||
rxv = callPackage ../development/python-modules/rxv { };
|
||||
|
||||
userpath = callPackage ../development/python-modules/userpath { };
|
||||
|
||||
});
|
||||
|
||||
in fix' (extends overrides packages)
|
||||
|
|
Loading…
Reference in a new issue