Merge pull request #315982 from Sigmanificient/oddsprout

This commit is contained in:
Sandro 2024-07-26 19:27:44 +02:00 committed by GitHub
commit 3dbb08f12b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
dahlia,
ixia
}:
buildPythonPackage rec {
pname = "oddsprout";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "trag1c";
repo = "oddsprout";
rev = "refs/tags/v${version}";
hash = "sha256-k5/mBoW4PxGUbkwaZyHgS3MGI4533V/nNoGqEg+VXpM=";
};
build-system = [ poetry-core ];
dependencies = [ dahlia ixia ];
pythonImportsCheck = [ "oddsprout" ];
meta = with lib; {
changelog = "https://github.com/trag1c/oddsprout/blob/${src.rev}/CHANGELOG.md";
description = "Generate random JSON with no schemas involved";
license = licenses.mit;
homepage = "https://trag1c.github.io/oddsprout";
maintainers = with maintainers; [ sigmanificient ];
};
}

View File

@ -9288,6 +9288,8 @@ self: super: with self; {
od = callPackage ../development/python-modules/od { };
oddsprout = callPackage ../development/python-modules/oddsprout { };
odfpy = callPackage ../development/python-modules/odfpy { };
odp-amsterdam = callPackage ../development/python-modules/odp-amsterdam { };