python3Packages.fnvhash: init at 0.1.0
This commit is contained in:
parent
f68ff4877f
commit
77d9a076b5
28
pkgs/development/python-modules/fnvhash/default.nix
Normal file
28
pkgs/development/python-modules/fnvhash/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -2334,6 +2334,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user