Enhance Nix package definitions by adding new packages for inputs and steam-python, updating build inputs for colordle and dosage, and improving installation scripts. Notable changes include the addition of desktop and metainfo files for colordle, and ensuring proper GResource handling in dosage.
This commit is contained in:
38
pkgs_wip/inputs.nix
Normal file
38
pkgs_wip/inputs.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "inputs";
|
||||
version = "0.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zeth";
|
||||
repo = "inputs";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tU1R6lhSMZj3Y6XdrT/Yfbte/BdLDvo6TzvLbnr+1vo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"inputs"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform Python support for keyboards, mice and gamepads";
|
||||
homepage = "https://github.com/zeth/inputs";
|
||||
changelog = "https://github.com/zeth/inputs/blob/${src.rev}/CHANGELOG.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ CaptainJawZ ];
|
||||
mainProgram = "inputs";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user