Files
nixpkgs/pkgs/development/python-modules/oca-port/default.nix
T
Martin Weinelt 8056f9250c treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the
derivation version automatically, so setting it to that manually has
become redundant.

This also affects downstream consumers of setuptools-scm, like hatch-vcs
or flit-scm.
2023-12-20 20:16:39 +01:00

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