-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3Packages.httpagentparser: init at 1.9.1
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
pkgs/development/python-modules/httpagentparser/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "httpagentparser"; | ||
version = "1.9.1"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "73Y9MZk912GCWs7myLNL4yuVzxZ10cc8PNNfnlKDGyY="; | ||
}; | ||
|
||
# PyPi version does not include test directory | ||
doCheck = false; | ||
|
||
pythonImportsCheck = [ "httpagentparser" ]; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/shon/httpagentparser"; | ||
description = "Extracts OS Browser etc information from http user agent string"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ gador ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters