mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 05:35:50 +02:00
Merge pull request #273552 from Huy-Ngo/urwidgets
python3Packages.urwidgets: init at v0.1.1
This commit is contained in:
commit
cedb9fbcf1
40
pkgs/development/python-modules/urwidgets/default.nix
Normal file
40
pkgs/development/python-modules/urwidgets/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, urwid
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "urwidgets";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AnonymouX47";
|
||||
repo = "urwidgets";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0aZLL0NutptPkuLHv3bTzR1/SNqLgMdUYWET6mLE0IU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
urwid
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "urwidgets" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of widgets for urwid";
|
||||
homepage = "https://github.com/AnonymouX47/urwidgets";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ huyngo ];
|
||||
};
|
||||
}
|
|
@ -15647,6 +15647,8 @@ self: super: with self; {
|
|||
|
||||
urwid = callPackage ../development/python-modules/urwid { };
|
||||
|
||||
urwidgets = callPackage ../development/python-modules/urwidgets { };
|
||||
|
||||
urwidtrees = callPackage ../development/python-modules/urwidtrees { };
|
||||
|
||||
urwid-readline = callPackage ../development/python-modules/urwid-readline { };
|
||||
|
|
Loading…
Reference in a new issue