depot/third_party/nixpkgs/pkgs/development/python-modules/oca-port/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

44 lines
845 B
Nix

{ buildPythonPackage
, click
, fetchPypi
, gitpython
, lib
, nix-update-script
, requests
, setuptools-scm
, setuptools
}:
buildPythonPackage rec {
pname = "oca-port";
version = "0.14";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "oca_port";
hash = "sha256-P+uCoC2u5lR4oTtloNFd4N+CjssUa5PbzbnhEulaRoc=";
};
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 ];
};
}