biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyuseragents / default.nix
blobf817a04222de06d61be1bfe4b314e12c74c6c8a2
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6 }:
8 buildPythonPackage rec {
9   pname = "pyuseragents";
10   version = "1.0.5";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "Animenosekai";
15     repo = "useragents";
16     rev = "v${version}";
17     sha256 = "D7Qs3vsfkRH2FDkbfakrR+FfWzQFiOCQM7q9AdJavyU=";
18   };
20   nativeCheckInputs = [ pytestCheckHook ];
21   pytestFlagsArray = [ "test.py" ];
22   pythonImportsCheck = [ "pyuseragents" ];
24   meta = with lib; {
25     description = "Giving you a random User-Agent Header";
26     homepage = "https://github.com/Animenosekai/useragents";
27     license = with licenses; [ mit ];
28     maintainers = with maintainers; [ emilytrau ];
29   };