pkgs: update

cynthion: 0.1.2 -> 0.1.6
  packetry: 0.1.0 -> 0.2.2
  apollo: 1.0.7 -> 1.1.0
  luna-usb: 0.1.1 -> 0.1.2
  pyfwup: 0.4.0 -> 0.5.2
This commit is contained in:
sapphire-arches 2024-09-20 22:28:32 -07:00
commit 2df5a47483
7 changed files with 22 additions and 18 deletions

View file

@ -59,7 +59,7 @@ in
postPatch = ''
substituteInPlace cynthion/python/src/commands/util.py \
--replace-fail 'os.path.join(pkg_path, "assets")' "\"$out/share/assets\""
--replace-fail 'os.path.join(package_path, "assets")' "\"$out/share/assets\""
'';
preBuild = ''

Binary file not shown.

View file

@ -2,6 +2,6 @@ fetchFromGitHub:
fetchFromGitHub {
owner = "greatscottgadgets";
repo = "cynthion";
rev = "0.1.2";
hash = "sha256-eLimS2gghT52tV01ZlFs8xEwwibB4yezl3eW7zrHpW8=";
rev = "0.1.6";
hash = "sha256-9H82UMtQ6nzYk6TQZSv37hcp/aclrBYZn7ovoExGS/8=";
}

View file

@ -10,17 +10,17 @@
wrapGAppsHook,
}:
rustPlatform.buildRustPackage rec {
version = "0.1.0";
version = "0.2.2";
pname = "packetry";
src = fetchFromGitHub {
src = fetchFromGitHub rec {
owner = "greatscottgadgets";
repo = "packetry";
rev = "7af5d7fd5c3cefe0291ea8eadcec5200dc6362d0";
hash = "sha256-jGCSI7aI5HenF5s2SKarABHQyCaRSag9jqnihT1WvGM=";
rev = "v" + version;
hash = "sha256-FlimHJS3hwB2Tkulb8uToKFe165uv/gFxJ4uezVNka4=";
};
cargoSha256 = "sha256-h9fFP5VGjYKt42oN/VSghfKPco+1DEh+W3fktYO8RVY=";
cargoSha256 = "sha256-n1hPoSUEFUGpEUOiuirSbeAnU+qiENDg4XyN5Jkjo/Y=";
nativeBuildInputs = [
wrapGAppsHook

View file

@ -16,15 +16,15 @@
in
buildPythonPackage rec {
pname = "apollo-fpga";
version = "1.0.7";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "greatscottgadgets";
repo = "apollo";
rev = "v1.0.7";
hash = "sha256-sREQpe28MBW+RGFag4OLZsjjvUan6ctZ83aFOMuc3EU=";
rev = "v" + version;
hash = "sha256-CVMSTjrfrtvfVFbMVvx2FYhkkonvEpiSZ+buqOzHyXk";
fetchSubmodules = true;
};
@ -42,6 +42,10 @@ in
pyxdg
];
pythonPath = with python3Packages; [
deprecation
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'

View file

@ -14,15 +14,15 @@
in
buildPythonPackage rec {
pname = "luna-usb";
version = "0.1.1";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "greatscottgadgets";
repo = "luna";
rev = "0.1.1";
hash = "sha256-81GJF3QLERCmvZXYlQvb1vzJFeGMSMNMwuGoaBJE8Zg=";
rev = version;
hash = "sha256-T9V0rI6vcEpM3kN/duRni6v2plCU4B379Zx07dBGKjk=";
};
nativeBuildInputs = [

View file

@ -11,15 +11,15 @@
in
buildPythonPackage rec {
pname = "pyfwup";
version = "0.4.0";
version = "0.5.2";
pyproject = true;
src = fetchFromGitHub {
src = fetchFromGitHub rec {
owner = "greatscottgadgets";
repo = "pyfwup";
rev = "0.4.0";
hash = "sha256-JSaAEGobdLqpSj9yvKrAsXfdkHpXSCcuGYRxz2QJqck=";
rev = version;
hash = "sha256-Kyc3f8beTg0W1+U7SvZuNPN1pdsco9rBUfoEtR7AI44=";
};
nativeBuildInputs = [