Skip to content

Commit

Permalink
python312Packages.random-user-agent: init at 1.0.1-unstable-2018-12-26
Browse files Browse the repository at this point in the history
Module to get list of user agents based on filters

https://github.com/Luqman-Ud-Din/random_user_agent
  • Loading branch information
fabaff committed Jun 18, 2024
1 parent d33b86e commit f3205d4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/development/python-modules/random-user-agent/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
}:

buildPythonPackage rec {
pname = "random-user-agent";
version = "1.0.1-unstable-2018-12-26";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "Luqman-Ud-Din";
repo = "random_user_agent";
rev = "9547a1d93558c5838f734357c695fee92be905f7";
hash = "sha256-BkMx7N8O9I4rD8lvpoyXTZbZDsoozIpYUQh+zkLQ7Uc=";
};

build-system = [ setuptools ];

# Module has no tests
doCheck = false;

pythonImportsCheck = [ "random_user_agent" ];

meta = with lib; {
description = "Module to get list of user agents based on filters";
homepage = "https://github.com/Luqman-Ud-Din/random_user_agent";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13069,6 +13069,8 @@ self: super: with self; {

ramlfications = callPackage ../development/python-modules/ramlfications { };

random-user-agent = callPackage ../development/python-modules/random-user-agent { };

random2 = callPackage ../development/python-modules/random2 { };

randomfiletree = callPackage ../development/python-modules/randomfiletree { };
Expand Down

0 comments on commit f3205d4

Please sign in to comment.