python3Packages.bencodetools: init at 1.0.1
This commit is contained in:
parent
320dfaba2d
commit
c07a80fd1c
@ -3,6 +3,7 @@
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
gitUpdater,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -35,7 +36,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
passthru = {
|
||||
tests.python-module = python3Packages.bencodetools;
|
||||
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Collection of tools for manipulating bencoded data";
|
||||
|
30
pkgs/development/python-modules/bencodetools/default.nix
Normal file
30
pkgs/development/python-modules/bencodetools/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
bencodetools,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage {
|
||||
inherit (bencodetools) pname version src;
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bencode"
|
||||
"typevalidator"
|
||||
];
|
||||
|
||||
meta = {
|
||||
inherit (bencodetools.meta)
|
||||
description
|
||||
homepage
|
||||
license
|
||||
maintainers
|
||||
;
|
||||
};
|
||||
}
|
@ -1575,6 +1575,10 @@ self: super: with self; {
|
||||
|
||||
bencoder = callPackage ../development/python-modules/bencoder { };
|
||||
|
||||
bencodetools = callPackage ../development/python-modules/bencodetools {
|
||||
bencodetools = pkgs.bencodetools;
|
||||
};
|
||||
|
||||
beniget = callPackage ../development/python-modules/beniget { };
|
||||
|
||||
bentoml = callPackage ../development/python-modules/bentoml { };
|
||||
|
Loading…
Reference in New Issue
Block a user