mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
[Backport release-24.11] python312Packages.oddsprout: 0.1.0 -> 0.1.1 (#355991)
This commit is contained in:
commit
b873e9e6fe
@ -3,24 +3,37 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
dahlia,
|
||||
ixia
|
||||
ixia,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oddsprout";
|
||||
version = "0.1.0";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trag1c";
|
||||
repo = "oddsprout";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-k5/mBoW4PxGUbkwaZyHgS3MGI4533V/nNoGqEg+VXpM=";
|
||||
hash = "sha256-BOUYq4yny3ScgzCzx2cpeK4e7nxxwTj8mJ42nr59mFA=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
dependencies = [ dahlia ixia ];
|
||||
|
||||
dependencies = [
|
||||
dahlia
|
||||
ixia
|
||||
];
|
||||
|
||||
# has one test `test_main_recursion_error`
|
||||
# that has a very low (~1%) but nonzero chance to fail,
|
||||
# this is known upstream (https://github.com/trag1c/oddsprout/issues/5)
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "oddsprout" ];
|
||||
|
||||
@ -29,6 +42,9 @@ buildPythonPackage rec {
|
||||
description = "Generate random JSON with no schemas involved";
|
||||
license = licenses.mit;
|
||||
homepage = "https://trag1c.github.io/oddsprout";
|
||||
maintainers = with maintainers; [ sigmanificient ];
|
||||
maintainers = with maintainers; [
|
||||
itepastra
|
||||
sigmanificient
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user