Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
947 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pytestCheckHook, pythonOlder, dahlia, ixia,}:
buildPythonPackage rec { pname = "oddsprout"; version = "0.1.2"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "trag1c"; repo = "oddsprout"; tag = "v${version}"; hash = "sha256-RfAU3/Je3aC8JjQ51DqRCSAIfW2tQmQPP6G0/bfa1ZE="; };
build-system = [ hatchling ];
dependencies = [ dahlia ixia ];
nativeCheckInputs = [ pytestCheckHook ];
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; [ itepastra sigmanificient ]; mainProgram = "oddsprout"; };}