1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/id/default.nix
Fabian Affolter d1caef8c5b python312Packages.id: 1.4.0 -> 1.5.0
Diff: di/id@refs/tags/v1.4.0...v1.5.0

Changelog: https://github.com/di/id/blob/1.5.0/CHANGELOG.md
2024-12-07 00:36:06 +01:00

45 lines
845 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pretend,
pytestCheckHook,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "id";
version = "1.5.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "di";
repo = "id";
rev = "refs/tags/v${version}";
hash = "sha256-6Vkbs/i1roAtPGwLxdM+XKDrMTo0+NfVpAUpw6GPg9U=";
};
build-system = [ flit-core ];
dependencies = [ requests ];
nativeCheckInputs = [
pretend
pytestCheckHook
];
pythonImportsCheck = [ "id" ];
meta = with lib; {
description = "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 ];
};
}