1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
nixpkgs/pkgs/development/python-modules/userpath/default.nix

31 lines
700 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, click
, distro
}:
buildPythonPackage rec {
pname = "userpath";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256="0mfjmvx286z1dmnrc7bm65x8gj8qrmkcyagl0vf5ywfq0bm48591";
};
propagatedBuildInputs = [ click distro ];
2020-08-24 04:51:50 +01:00
# 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 ];
};
}