nixpkgs-suyu/pkgs/development/python-modules/pyfnip/default.nix
2021-01-13 12:42:47 +01:00

28 lines
589 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "pyfnip";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "0q52rb0kshgbligxjqrwz0v7kgqjbv6jahdb66ndxy93mfr0ig3a";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyfnip" ];
meta = with lib; {
description = "Python client to get fido account data";
homepage = "https://github.com/juhaniemi/pyfnip";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}