python3.pkgs.aiotarfile: init at 0.5.1 (#332301)
This commit is contained in:
+1283
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
|
||||
buildPythonPackage,
|
||||
unittestCheckHook,
|
||||
pythonOlder,
|
||||
cargo,
|
||||
rustc,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiotarfile";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhelmot";
|
||||
repo = "aiotarfile";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DslG+XxIYb04I3B7m0fmRmE3hFCczF039QhSVdHGPL8=";
|
||||
};
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes."async-tar-0.4.2" = "sha256-C8M/5YEo3OIfN+654pVTfDm8C8qmKX5qy61NKFt7Jb4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
rustc
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
unittestFlagsArray = [ "tests/" ]; # Not sure why it isn't autodiscovered
|
||||
|
||||
pythonImportsCheck = [ "aiotarfile" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stream-based, asynchronous tarball processing";
|
||||
homepage = "https://github.com/rhelmot/aiotarfile";
|
||||
changelog = "https://github.com/rhelmot/aiotarfile/commits/v{version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nicoo ];
|
||||
};
|
||||
}
|
||||
@@ -461,6 +461,8 @@ self: super: with self; {
|
||||
|
||||
aiotankerkoenig = callPackage ../development/python-modules/aiotankerkoenig { };
|
||||
|
||||
aiotarfile = callPackage ../development/python-modules/aiotarfile { };
|
||||
|
||||
aiotractive = callPackage ../development/python-modules/aiotractive { };
|
||||
|
||||
aiounifi = callPackage ../development/python-modules/aiounifi { };
|
||||
|
||||
Reference in New Issue
Block a user