pycritty: init at 0.3.5 (#128166)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
parent
df7bc16974
commit
15fe4be12b
32
pkgs/development/python-modules/pycritty/default.nix
Normal file
32
pkgs/development/python-modules/pycritty/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycritty";
|
||||
version = "0.3.5";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1lrmd4a1ps3h9z0pndfjfrd2qa7v3abd6np75fd2q2ffsqv7ar6x";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# remove custom install
|
||||
substituteInPlace setup.py \
|
||||
--replace "'install': PostInstallHook," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ pyyaml ];
|
||||
|
||||
# The package does not include any tests to run
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pycritty" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A CLI tool for changing your alacritty configuration on the fly";
|
||||
homepage = "https://github.com/antoniosarosi/pycritty";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jperras ];
|
||||
};
|
||||
}
|
|
@ -13954,6 +13954,8 @@ in
|
|||
|
||||
pyrseas = callPackage ../development/tools/database/pyrseas { };
|
||||
|
||||
pycritty = with python3Packages; toPythonApplication pycritty;
|
||||
|
||||
qtcreator = libsForQt5.callPackage ../development/tools/qtcreator { };
|
||||
|
||||
qxmledit = libsForQt5.callPackage ../applications/editors/qxmledit {} ;
|
||||
|
|
|
@ -5781,6 +5781,8 @@ in {
|
|||
|
||||
pycrc = callPackage ../development/python-modules/pycrc { };
|
||||
|
||||
pycritty = callPackage ../development/python-modules/pycritty { };
|
||||
|
||||
pycron = callPackage ../development/python-modules/pycron { };
|
||||
|
||||
pycrypto = callPackage ../development/python-modules/pycrypto { };
|
||||
|
|
Loading…
Reference in a new issue