diff options
author | Gabriel Ebner <gebner@gebner.org> | 2021-04-02 16:28:07 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2021-04-02 23:05:50 +0200 |
commit | 83dbaf67a99624ceaba75d4fc8a22d691f577828 (patch) | |
tree | 7e0bf013f0f05dc95b82409cf6e200de3a405b56 /pkgs/applications | |
parent | 295acf0460aae74bb9ebd999f639348a2f3c13bb (diff) | |
download | nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.tar nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.tar.gz nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.tar.bz2 nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.tar.lz nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.tar.xz nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.tar.zst nixpkgs-83dbaf67a99624ceaba75d4fc8a22d691f577828.zip |
spnavcfg: init at 0.3.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/spnavcfg/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/spnavcfg/default.nix b/pkgs/applications/misc/spnavcfg/default.nix new file mode 100644 index 00000000000..caeaa42192d --- /dev/null +++ b/pkgs/applications/misc/spnavcfg/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, fetchFromGitHub, pkg-config, gtk2 }: + +stdenv.mkDerivation rec { + pname = "spnavcfg"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "FreeSpacenav"; + repo = pname; + rev = "v${version}"; + sha256 = "180mkdis15gxs79rr3f7hpwa1p6v81bybw37pzzdjnmqwqrc08a0"; + }; + + postPatch = '' + sed -i s/4775/775/ Makefile.in + ''; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ gtk2 ]; + + meta = with lib; { + homepage = "http://spacenav.sourceforge.net/"; + description = "Interactive configuration GUI for space navigator input devices"; + license = licenses.gpl3Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ gebner ]; + }; +} |