3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #109535 from fabaff/fnvhash

python3Packages.fnvhash: init at 0.1.0
This commit is contained in:
Martin Weinelt 2021-01-17 14:24:45 +01:00 committed by GitHub
commit 07a8746107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "fnvhash";
version = "0.1.0";
src = fetchFromGitHub {
owner = "znerol";
repo = "py-fnvhash";
rev = "v${version}";
sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fnvhash" ];
meta = with lib; {
description = "Python FNV hash implementation";
homepage = "https://github.com/znerol/py-fnvhash";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -350,7 +350,7 @@
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
"home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect
"homeassistant" = ps: with ps; [ ];
"homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors base36 ha-ffmpeg zeroconf ]; # missing inputs: PyTurboJPEG fnvhash
"homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors base36 fnvhash ha-ffmpeg zeroconf ]; # missing inputs: PyTurboJPEG
"homekit_controller" = ps: with ps; [ aiohomekit aiohttp-cors zeroconf ];
"homematic" = ps: with ps; [ pyhomematic ];
"homematicip_cloud" = ps: with ps; [ ]; # missing inputs: homematicip

View file

@ -2338,6 +2338,8 @@ in {
fn = callPackage ../development/python-modules/fn { };
fnvhash = callPackage ../development/python-modules/fnvhash { };
folium = callPackage ../development/python-modules/folium { };
fontforge = disabledIf (!isPy3k) (toPythonModule (pkgs.fontforge.override {