Files
nixpkgs/pkgs/development/python-modules/pyfido/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
643 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pyfido";
version = "2.1.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-hh2g46GVCkiMHElEP6McY8FdzGNzZV7pgA5DQhodP20=";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyfido" ];
meta = with lib; {
description = "Python client to get fido account data";
mainProgram = "pyfido";
homepage = "https://github.com/titilambert/pyfido";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}