Merge pull request #271293 from fabaff/id
python311Packages.id: init at 1.1.0
This commit is contained in:
commit
bc1c120c7b
51
pkgs/development/python-modules/id/default.nix
Normal file
51
pkgs/development/python-modules/id/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, pretend
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "id";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "di";
|
||||
repo = "id";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-T3p13EnXU1Efysnu1RQw5st1BgHyZNdrKtkzQSguRtM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pydantic
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pretend
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"id"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for generating OIDC identities";
|
||||
homepage = "https://github.com/di/id";
|
||||
changelog = "https://github.com/di/id/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5292,6 +5292,8 @@ self: super: with self; {
|
||||
|
||||
icontract = callPackage ../development/python-modules/icontract { };
|
||||
|
||||
id = callPackage ../development/python-modules/id { };
|
||||
|
||||
identify = callPackage ../development/python-modules/identify { };
|
||||
|
||||
idna = callPackage ../development/python-modules/idna { };
|
||||
|
Loading…
Reference in New Issue
Block a user