Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pytestCheckHook, ps,}:
buildPythonPackage rec { pname = "duct"; version = "1.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "oconnor663"; repo = "duct.py"; tag = version; hash = "sha256-i811nQB8CVJPYPR0Jdzpk64EXxrTMDIBpdDoUs9Xu/k="; };
build-system = [ hatchling ];
pythonImportsCheck = [ "duct" ];
nativeCheckInputs = [ pytestCheckHook ps ];
disabledTests = [ # This test completely empties the environment then tries to run a Python command. # The test then fails because it can't find the `python` executable. It's unclear # how this test even passes _outside_ of Nix. "test_full_env" ];
meta = { description = "Python library for running child processes"; homepage = "https://github.com/oconnor663/duct.py"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ zmitchell ]; };}