pythonPackages.user-agents: init at 1.1.0
This commit is contained in:
23
pkgs/development/python-modules/ua-parser/default.nix
Normal file
23
pkgs/development/python-modules/ua-parser/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ua-parser";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1p8siba0rnb5nsl354fd5fc4751d5ybw7hgnd56yn8dncxdb1bqa";
|
||||
};
|
||||
|
||||
buildInputs = [ pyyaml ];
|
||||
|
||||
doCheck = false; # requires files from uap-core
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A python implementation of the UA Parser";
|
||||
homepage = https://github.com/ua-parser/uap-python;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user