Unverified Commit 3dbb08f1 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #315982 from Sigmanificient/oddsprout

parents fdb95b25 f1fd29c7
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };