Files
nixpkgs/pkgs/development/python-modules/urwidgets/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

38 lines
818 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
urwid,
}:
buildPythonPackage rec {
pname = "urwidgets";
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AnonymouX47";
repo = "urwidgets";
rev = "refs/tags/v${version}";
hash = "sha256-ultlfNeCGFTqKaMeXu0+NihkN5/6NtMewk33YfIzhu8=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ urwid ];
pythonImportsCheck = [ "urwidgets" ];
meta = with lib; {
description = "Collection of widgets for urwid";
homepage = "https://github.com/AnonymouX47/urwidgets";
changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ huyngo ];
};
}