mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
22 lines
576 B
Nix
22 lines
576 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "openidc-client";
|
|
version = "0.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "680e969cae18c30adbddd6a087ed09f6a296b4937b4c8bc69be813bdbbfa9847";
|
|
};
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A CLI python OpenID Connect client with token caching and management";
|
|
homepage = https://github.com/puiterwijk;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ disassembler ];
|
|
};
|
|
}
|