mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
time-decode: 9.0.0 -> 10.4.0, python3Packages.bbpb: init at 1.4.2 (#556240)
This commit is contained in:
@@ -6,23 +6,26 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "time-decode";
|
||||
version = "9.0.0";
|
||||
version = "10.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "digitalsleuth";
|
||||
repo = "time_decode";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kydH5WN2PELq6YnoSBFRsyVnxL+0r09WxXuqFANXuNs=";
|
||||
hash = "sha256-MZ876fQ1Si3P+OOaO7G3uQY7WGcTQMryig5rM4nvGrc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [ setuptools ];
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dependencies = with python3.pkgs; [
|
||||
bbpb
|
||||
colorama
|
||||
juliandate
|
||||
prettytable
|
||||
pyqt6
|
||||
python-dateutil
|
||||
python-ulid
|
||||
pytz
|
||||
tzdata
|
||||
];
|
||||
|
||||
39
pkgs/development/python-modules/bbpb/default.nix
Normal file
39
pkgs/development/python-modules/bbpb/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
nix-update-script,
|
||||
poetry-core,
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bbpb";
|
||||
version = "1.4.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-A0RpkbxQDPyd0gSebMlImXnhV8Xst5PieTarPVedNJY=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [ six ];
|
||||
|
||||
pythonImportsCheck = [ "blackboxprotobuf" ];
|
||||
|
||||
# Would require to switch to GitHub as source
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Library for working with protobuf messages without a protobuf type definition";
|
||||
homepage = "https://pypi.org/project/bbpb";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -2231,6 +2231,8 @@ self: super: with self; {
|
||||
|
||||
bbox = callPackage ../development/python-modules/bbox { };
|
||||
|
||||
bbpb = callPackage ../development/python-modules/bbpb { };
|
||||
|
||||
bc-detect-secrets = callPackage ../development/python-modules/bc-detect-secrets { };
|
||||
|
||||
bc-jsonpath-ng = callPackage ../development/python-modules/bc-jsonpath-ng { };
|
||||
|
||||
Reference in New Issue
Block a user