567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
793 B
Nix
32 lines
793 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oscscreen";
|
|
version = "unstable-2023-03-23";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "outscale";
|
|
repo = "npyscreen";
|
|
rev = "e2a97e4a201e2d7d5de3ee033071a7f93592b422";
|
|
hash = "sha256-0Im1kVFa11AW+7Oe95XvkfxSlaux6bkKaHSQy6hJCN8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "oscscreen" ];
|
|
|
|
meta = {
|
|
description = "Framework for developing console applications using Python and curses";
|
|
homepage = "https://github.com/outscale/npyscreen";
|
|
changelog = "https://github.com/outscale/npyscreen/blob/${src.rev}/CHANGELOG";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ nicolas-goudry ];
|
|
};
|
|
}
|