Misc: Enable nix flakes

This commit is contained in:
PapaTutuWawa committed 2021-11-04 18:08:47 +01:00
1 parent 8c1eefc62c
commit 09d385806a
5 files changed
+31 -25

No files matched your search

+7 -3
View File
@@ -4,10 +4,12 @@
, gtk3, gobject-introspection, git, gnome
, wrapGAppsHook
, makeDesktopItem
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "key-mapper";
# TODO: Update to 1.2.1
version = "1.0.0";
buildInputs = [ gobject-introspection gtk3 gnome.adwaita-icon-theme ];
@@ -16,9 +18,11 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [ setuptools pydbus evdev pygobject3 ];
src = builtins.fetchGit {
url = "https://github.com/sezanzeb/key-mapper.git";
ref = version;
src = fetchFromGitHub {
owner = "sezanzeb";
repo = "key-mapper";
rev = version;
sha256 = "07dgp4vays1w4chhd22vlp9bxc49lcgzkvmjqgbr00m3781yjsf7";
};
doCheck = false;