nixpkgs/pkgs/development/python-modules/ua-parser/default.nix

24 lines
602 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
buildPythonPackage rec {
pname = "ua-parser";
2018-06-12 17:47:08 +01:00
version = "0.8.0";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:08 +01:00
sha256 = "97bbcfc9321a3151d96bb5d62e54270247b0e3be0590a6f2ff12329851718dcb";
};
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 ];
};
}