1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

python3Packages.userpath: init at 1.4.1

This commit is contained in:
Yevhen Shymotyuk 2020-08-23 22:59:17 +03:00 committed by Jon
parent 09fe5ddad5
commit 7becd9b2ef
2 changed files with 40 additions and 0 deletions

View 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 ];
};
}

View file

@ -7826,6 +7826,8 @@ in {
rxv = callPackage ../development/python-modules/rxv { };
userpath = callPackage ../development/python-modules/userpath { };
});
in fix' (extends overrides packages)