diff options
author | Kira Bruneau <kira.bruneau@pm.me> | 2021-04-04 14:25:39 -0400 |
---|---|---|
committer | Kira Bruneau <kira.bruneau@pm.me> | 2021-04-05 18:32:47 -0400 |
commit | a19d6e6dcdcaf362718a2c11141aa7325373424f (patch) | |
tree | d35ae7c2fe867d7ff0c5de636bd8e60ca71ba9b4 /pkgs/os-specific/linux/xpadneo | |
parent | 692482d18823b9ba2b9f264500ab94747c07c5ed (diff) | |
download | nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.tar nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.tar.gz nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.tar.bz2 nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.tar.lz nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.tar.xz nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.tar.zst nixpkgs-a19d6e6dcdcaf362718a2c11141aa7325373424f.zip |
linuxPackages.xpadneo: 0.9 -> 0.9.1
Diffstat (limited to 'pkgs/os-specific/linux/xpadneo')
-rw-r--r-- | pkgs/os-specific/linux/xpadneo/default.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/xpadneo/default.nix b/pkgs/os-specific/linux/xpadneo/default.nix index f921a7647a8..3007e54639d 100644 --- a/pkgs/os-specific/linux/xpadneo/default.nix +++ b/pkgs/os-specific/linux/xpadneo/default.nix @@ -2,25 +2,19 @@ stdenv.mkDerivation rec { pname = "xpadneo"; - version = "0.9"; + version = "0.9.1"; src = fetchFromGitHub { owner = "atar-axis"; repo = pname; rev = "v${version}"; - sha256 = "1f146snbjkr3dgg3g1dav4q2621560zg5ixsip2wsvp7wfvahnhy"; + hash = "sha256-VUcS4OzvPj0o627ZWIOBqEAQJ4JuMCMjgaZoMkL/IHc="; }; setSourceRoot = '' export sourceRoot=$(pwd)/source/hid-xpadneo/src ''; - postPatch = '' - # Set kernel module version - substituteInPlace version.h \ - --subst-var-by DO_NOT_CHANGE ${version} - ''; - nativeBuildInputs = kernel.moduleBuildDependencies; buildInputs = [ bluez ]; @@ -28,6 +22,7 @@ stdenv.mkDerivation rec { "-C" "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "M=$(sourceRoot)" + "VERSION=${version}" ]; buildFlags = [ "modules" ]; |