mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
python3Packages.oca-port: init at 0.13 (#224626)
* python3Packages.oca-port: init at 0.12 Useful CLI tool for [OCA](https://odoo-community.org/) modules maintenance. @moduon MT-2586 Co-authored-by: 25083790+natsukium@users.noreply.github.com Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * python3Packages.oca-port: 0.12 -> 0.13 --------- Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f1316cad1a
commit
b1efae4a9e
46
pkgs/development/python-modules/oca-port/default.nix
Normal file
46
pkgs/development/python-modules/oca-port/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ buildPythonPackage
|
||||
, click
|
||||
, fetchPypi
|
||||
, gitpython
|
||||
, lib
|
||||
, nix-update-script
|
||||
, requests
|
||||
, setuptools-scm
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oca-port";
|
||||
version = "0.13";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "oca_port";
|
||||
hash = "sha256-9ihqjnGdBPasiRD2pZeaiibwzFQKI9t+s/zMzvyLLHQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
gitpython
|
||||
requests
|
||||
];
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -6956,6 +6956,8 @@ self: super: with self; {
|
|||
|
||||
obspy = callPackage ../development/python-modules/obspy { };
|
||||
|
||||
oca-port = callPackage ../development/python-modules/oca-port { };
|
||||
|
||||
oci = callPackage ../development/python-modules/oci { };
|
||||
|
||||
ocifs = callPackage ../development/python-modules/ocifs { };
|
||||
|
|
Loading…
Reference in a new issue