nixpkgs/pkgs/development/python-modules/scripttest/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

30 lines
625 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "scripttest";
version = "1.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "951cfc25219b0cd003493a565f2e621fd791beaae9f9a3bdd7024d8626419c38";
};
buildInputs = [ pytest ];
# Tests are not included. See https://github.com/pypa/scripttest/issues/11
doCheck = false;
meta = with lib; {
description = "Library for testing interactive command-line applications";
homepage = "https://pypi.org/project/scripttest/";
maintainers = [ ];
license = licenses.mit;
};
}