mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-15 06:19:00 +00:00
swh-auth: init at 0.6.6
This commit is contained in:
parent
51075f34cb
commit
062a481376
33
pkgs/software-heritage/swh-auth.nix
Normal file
33
pkgs/software-heritage/swh-auth.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, lib, python3Packages, swh-core, ... }:
|
||||||
|
|
||||||
|
with python3Packages;
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "swh-auth";
|
||||||
|
version = "0.6.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version;
|
||||||
|
pname = "swh.auth";
|
||||||
|
sha256 = "sha256-TWLrZC4Iv0HTCtGjraPZRpGLiZFxTXZw6trWzC0GkHw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Tests require network access.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
djangorestframework
|
||||||
|
sentry-sdk
|
||||||
|
click
|
||||||
|
pyyaml
|
||||||
|
python-keycloak
|
||||||
|
|
||||||
|
swh-core
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://forge.softwareheritage.org/source/swh-auth/";
|
||||||
|
description = "Authentication utilities for Software Heritage";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user