nixpkgs/pkgs/development/python-modules/ush/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

37 lines
696 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "ush";
version = "3.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "tarruda";
repo = "python-ush";
rev = version;
hash = "sha256-eL3vG3yS02enbLYorKvvYKbju9HInffUhrZgkodwhvo=";
};
nativeCheckInputs = [
pytestCheckHook
six
];
disabledTestPaths = [
# seems to be outdated?
"tests/test_glob.py"
];
meta = with lib; {
description = "Powerful API for invoking with external commands";
homepage = "https://github.com/tarruda/python-ush";
license = licenses.mit;
maintainers = with maintainers; [ ckie ];
};
}