nixpkgs/pkgs/development/python-modules/openidc-client/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

21 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 ];
};
}