2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
click,
|
|
|
|
fetchPypi,
|
|
|
|
gitpython,
|
|
|
|
lib,
|
|
|
|
nix-update-script,
|
|
|
|
requests,
|
|
|
|
setuptools-scm,
|
|
|
|
setuptools,
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "oca-port";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.15";
|
2023-07-15 17:15:38 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "oca_port";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-DqoIzZj++XF2ZYECpLQX1RD97Y3I2uvs1OI7QyfB7dE=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
gitpython
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "oca_port" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool helping to port an addon or missing commits of an addon from one branch to another";
|
|
|
|
homepage = "https://github.com/OCA/oca-port";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ yajo ];
|
|
|
|
};
|
|
|
|
}
|