python311Packages.rstr: init at 3.2.2

This commit is contained in:
Dan Callaghan 2023-11-25 16:22:06 +11:00
parent 1e5651a8c9
commit b3f0566e9c
No known key found for this signature in database
GPG Key ID: 26B5AA2FDAF2F30A
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, setuptools-scm
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "rstr";
version = "3.2.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-xKVk1N+0Ry2THRRcQ9HPGteMJFkhQud1W4hmF57qwBI=";
};
pyproject = true;
nativeBuildInputs = [
setuptools
setuptools-scm
];
doCheck = true;
nativeCheckInputs = [
unittestCheckHook
];
meta = with lib; {
description = "Python library to generate random strings";
homepage = "https://github.com/leapfrogonline/rstr";
license = licenses.bsd3;
maintainers = with maintainers; [ danc86 ];
};
}

View File

@ -12553,6 +12553,8 @@ self: super: with self; {
rstcheck-core = callPackage ../development/python-modules/rstcheck-core { };
rstr = callPackage ../development/python-modules/rstr { };
rtmidi-python = callPackage ../development/python-modules/rtmidi-python {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices;
};