depot/third_party/nixpkgs/pkgs/development/python-modules/click-odoo/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

37 lines
704 B
Nix

{ buildPythonPackage
, click
, fetchPypi
, lib
, nix-update-script
, setuptools-scm
}:
buildPythonPackage rec {
pname = "click-odoo";
version = "1.6.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-zyfgsHzIoz4lnqANe63b2oqgD/oxBbTbJYEedfSHWQ8=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
click
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Odoo scripting helper library";
homepage = "https://github.com/acsone/click-odoo";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ yajo ];
};
}