python310Packages.pixcat: init at 0.1.4 (#162556)
* python3Packages.pixcat: init at 0.1.4 * python3Packages.pixcat: add pythonImportsCheck
This commit is contained in:
parent
dec5eaede9
commit
3924c086f6
38
pkgs/development/python-modules/pixcat/default.nix
Normal file
38
pkgs/development/python-modules/pixcat/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, blessed
|
||||
, docopt
|
||||
, pillow
|
||||
, requests
|
||||
, dataclasses
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pixcat";
|
||||
version = "0.1.4";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "657c8fe04513caecccd6086b347aa4b85db6b4c0f761b162cb9cd789abe7abb6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
blessed
|
||||
docopt
|
||||
pillow
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pixcat" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Display images on a kitty terminal with optional resizing";
|
||||
homepage = "https://github.com/mirukan/pixcat";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = [ maintainers.tilcreator ];
|
||||
};
|
||||
}
|
@ -4018,6 +4018,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
};
|
||||
|
||||
pixcat = with python3Packages; toPythonApplication pixcat;
|
||||
|
||||
pixiecore = callPackage ../tools/networking/pixiecore {};
|
||||
|
||||
waitron = callPackage ../tools/networking/waitron {};
|
||||
|
@ -6198,6 +6198,8 @@ in {
|
||||
|
||||
pdunehd = callPackage ../development/python-modules/pdunehd { };
|
||||
|
||||
pixcat = callPackage ../development/python-modules/pixcat { };
|
||||
|
||||
pyprecice = callPackage ../development/python-modules/pyprecice { };
|
||||
|
||||
phonopy = callPackage ../development/python-modules/phonopy { };
|
||||
|
Loading…
Reference in New Issue
Block a user