python3Packages.pyuseragents: init at 1.0.5
This commit is contained in:
parent
e221bcae10
commit
e03873107a
28
pkgs/development/python-modules/pyuseragents/default.nix
Normal file
28
pkgs/development/python-modules/pyuseragents/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyuseragents";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Animenosekai";
|
||||
repo = "useragents";
|
||||
rev = "v${version}";
|
||||
sha256 = "D7Qs3vsfkRH2FDkbfakrR+FfWzQFiOCQM7q9AdJavyU=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "test.py" ];
|
||||
pythonImportsCheck = [ "pyuseragents" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Giving you a random User-Agent Header";
|
||||
homepage = "https://github.com/Animenosekai/useragents";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ angustrau ];
|
||||
};
|
||||
}
|
|
@ -7336,6 +7336,8 @@ in {
|
|||
inherit (pkgs) libusb1;
|
||||
};
|
||||
|
||||
pyuseragents = callPackage ../development/python-modules/pyuseragents { };
|
||||
|
||||
pyutilib = callPackage ../development/python-modules/pyutilib { };
|
||||
|
||||
pyuv = callPackage ../development/python-modules/pyuv { };
|
||||
|
|
Loading…
Reference in a new issue