python311Packages.pueblo: init at 0.0.8
This commit is contained in:
parent
8a2ad95413
commit
7a1b97825b
44
pkgs/development/python-modules/pueblo/default.nix
Normal file
44
pkgs/development/python-modules/pueblo/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, versioningit
|
||||
, platformdirs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pueblo";
|
||||
version = "0.0.8";
|
||||
pyproject = true;
|
||||
|
||||
# This tarball doesn't include tests unfortuneatly, and the GitHub tarball
|
||||
# could have been an alternative, but versioningit fails to detect the
|
||||
# version of it correctly, even with setuptools-scm and
|
||||
# SETUPTOOLS_SCM_PRETEND_VERSION = version added. Since this is a pure Python
|
||||
# package, we can rely on upstream to run the tests before releasing, and it
|
||||
# should work for us as well.
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-iM8Ea2ym7ZM0wInkCZ76yUjvOPRF5MVbT4WhpWz70UU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
versioningit
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
# contextlib-chdir
|
||||
# importlib-metadata
|
||||
platformdirs
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pueblo" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pueblo - a Python toolbox library";
|
||||
homepage = "https://pypi.org/project/pueblo/";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
@ -1310,6 +1310,8 @@ self: super: with self; {
|
||||
|
||||
paddlepaddle = callPackage ../development/python-modules/paddlepaddle { };
|
||||
|
||||
pueblo = callPackage ../development/python-modules/pueblo { };
|
||||
|
||||
pulumi = callPackage ../development/python-modules/pulumi { inherit (pkgs) pulumi; };
|
||||
|
||||
pulumi-aws = callPackage ../development/python-modules/pulumi-aws { };
|
||||
|
Loading…
Reference in New Issue
Block a user