opentabletdriver: 0.5.1 -> 0.5.3.1
This commit is contained in:
parent
104af4aafa
commit
d4e5bd979d
@ -23,18 +23,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "OpenTabletDriver";
|
||||
version = "0.5.1";
|
||||
version = "0.5.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "InfinityGhost";
|
||||
repo = "OpenTabletDriver";
|
||||
rev = "v${version}";
|
||||
sha256 = "1if2mkj193yzf5si9pwaynrm6wkhqy7ihk4k1lklzcryk5675w36";
|
||||
sha256 = "OT8/c+6wNpZyq/q7uMxIqmyJKNAq0B4ynEAqFF0GWyo=";
|
||||
};
|
||||
|
||||
debPkg = fetchurl {
|
||||
url = "https://github.com/InfinityGhost/OpenTabletDriver/releases/download/v${version}/OpenTabletDriver.deb";
|
||||
sha256 = "16a1rr0yxra1dhwysbbfgsxpigh2jhjlsl7r28dgp8qcxncck7wg";
|
||||
sha256 = "0nm0v1xhphl6g6rz3li4rbdp7408g6sf9l4nh3mbbif5042xa0qh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
8
pkgs/tools/X11/opentabletdriver/deps.nix
generated
8
pkgs/tools/X11/opentabletdriver/deps.nix
generated
@ -41,8 +41,8 @@
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "HidSharpCore";
|
||||
version = "1.2.1";
|
||||
sha256 = "0vcw38skr9g691gxbzv3cf6y9rk11vh5pvcyjshdgii2z1z8a4g2";
|
||||
version = "1.2.1.1";
|
||||
sha256 = "1zkndglmz0s8rblfhnqcvv90rkq2i7lf4bc380g7z8h1avf2ikll";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "MessagePack.Annotations";
|
||||
@ -121,8 +121,8 @@
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "Octokit";
|
||||
version = "0.48.0";
|
||||
sha256 = "17ria1shx04rb6knbaswpqndmwam6v3r3lsfsd486q584798ccn8";
|
||||
version = "0.50.0";
|
||||
sha256 = "1ignj5i6a1c19qqrw00wlr9fdjmwrxkxz7gdxj0x653w84gbv7qq";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "PangoSharp";
|
||||
|
@ -7,7 +7,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
deps_file="$(realpath "./deps.nix")"
|
||||
|
||||
new_version="$(curl -s "https://api.github.com/repos/InfinityGhost/OpenTabletDriver/releases" | jq -r '.[0].tag_name' | sed 's|[^0-9.]||g')"
|
||||
new_version="$(curl -s "https://api.github.com/repos/OpenTabletDriver/OpenTabletDriver/releases" | jq -r '.[0].tag_name' | sed 's|[^0-9.]||g')"
|
||||
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
|
||||
if [[ "$new_version" == "$old_version" ]]; then
|
||||
echo "Up to date"
|
||||
@ -15,8 +15,8 @@ if [[ "$new_version" == "$old_version" ]]; then
|
||||
fi
|
||||
|
||||
# Updating the hash of deb package manually since there seems to be no way to do it automatically
|
||||
oldDebPkgUrl="https://github.com/InfinityGhost/OpenTabletDriver/releases/download/v${old_version}/OpenTabletDriver.deb";
|
||||
newDebPkgUrl="https://github.com/InfinityGhost/OpenTabletDriver/releases/download/v${new_version}/OpenTabletDriver.deb";
|
||||
oldDebPkgUrl="https://github.com/OpenTabletDriver/OpenTabletDriver/releases/download/v${old_version}/OpenTabletDriver.deb";
|
||||
newDebPkgUrl="https://github.com/OpenTabletDriver/OpenTabletDriver/releases/download/v${new_version}/OpenTabletDriver.deb";
|
||||
oldDebSha256=$(nix-prefetch-url "$oldDebPkgUrl")
|
||||
newDebSha256=$(nix-prefetch-url "$newDebPkgUrl")
|
||||
echo "oldDebSha256: $oldDebSha256 newDebSha256: $newDebSha256"
|
||||
|
Loading…
Reference in New Issue
Block a user