commit
11e13f7250
|
@ -6,26 +6,33 @@
|
|||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "git-up";
|
||||
version = "1.6.1";
|
||||
version = "2.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gs791yb0cndg9879vayvcj329jwhzpk6wrf9ri12l5hg8g490za";
|
||||
pname = "git_up";
|
||||
inherit version;
|
||||
hash = "sha256-GTX2IWLQ48yWfPnmtEa9HJ5umQLttqgTlgZQlaWgeE4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pythonPackages; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
# git should be on path for tool to work correctly
|
||||
propagatedBuildInputs = [
|
||||
git
|
||||
] ++ (with pythonPackages; [
|
||||
click
|
||||
colorama
|
||||
docopt
|
||||
gitpython
|
||||
six
|
||||
termcolor
|
||||
]);
|
||||
|
||||
nativeCheckInputs = [ git pythonPackages.nose ]; # git needs to be on path
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
pythonPackages.pytestCheckHook
|
||||
];
|
||||
|
||||
# 1. git fails to run as it cannot detect the email address, so we set it
|
||||
# 2. $HOME is by default not a valid dir, so we have to set that too
|
||||
# https://github.com/NixOS/nixpkgs/issues/12591
|
||||
|
|
Loading…
Reference in a new issue