evdevremapkeys: Disable tests, remove name use

This commit is contained in:
Sandro Jäckel 2021-01-06 10:12:48 +01:00
parent 5a8b375db4
commit ffc02499d6
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,11 +1,8 @@
{ stdenv, fetchFromGitHub, python3Packages }:
let
pythonPackages = python3Packages;
in pythonPackages.buildPythonPackage rec {
name = "${pname}-0.1.0";
python3Packages.buildPythonPackage rec {
pname = "evdevremapkeys";
version = "0.1.0";
src = fetchFromGitHub {
owner = "philipl";
@ -14,13 +11,18 @@ in pythonPackages.buildPythonPackage rec {
sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
};
propagatedBuildInputs = with pythonPackages; [
propagatedBuildInputs = with python3Packages; [
pyyaml
pyxdg
python-daemon
evdev
];
# hase no tests
doCheck = false;
pythonImportsCheck = [ "evdevremapkeys" ];
meta = with stdenv.lib; {
homepage = "https://github.com/philipl/evdevremapkeys";
description = "Daemon to remap events on linux input devices";