compiling protonup-qt from source
This commit is contained in:
36
pkgs_pr/inputs.nix
Normal file
36
pkgs_pr/inputs.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.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 = [
|
||||
python3Packages.setuptools
|
||||
python3Packages.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