Merge remote-tracking branch 'origin/master' into staging-next

Fix cargo-flash build
This commit is contained in:
Jonathan Ringer
2021-05-16 18:27:14 -07:00
80 changed files with 906 additions and 354 deletions
@@ -2,11 +2,11 @@
buildPythonApplication rec {
pname = "gallery_dl";
version = "1.17.3";
version = "1.17.4";
src = fetchPypi {
inherit pname version;
sha256 = "5da10d931c371841575d988b4e91e9d4ce55c8c3c99aa6d4efa5abca34c75ec8";
sha256 = "4df80fd923b03b2413a3d1c50e32c3006d100ed5acc1400ace69d8dc2162d293";
};
propagatedBuildInputs = [ requests ];
@@ -0,0 +1,68 @@
{ lib
, python3
, fetchFromSourcehut
, desktop-file-utils
, glib
, gobject-introspection
, gtk3
, libhandy
, librsvg
, meson
, ninja
, pkg-config
, wrapGAppsHook
}:
python3.pkgs.buildPythonApplication rec {
pname = "numberstation";
version = "0.4.0";
format = "other";
src = fetchFromSourcehut {
owner = "~martijnbraam";
repo = "numberstation";
rev = version;
sha256 = "038yyffqknr274f7jh5z12y68pjxr37f8y2cn2pwhf605jmbmpwv";
};
postPatch = ''
patchShebangs build-aux/meson
'';
nativeBuildInputs = [
desktop-file-utils
glib
gtk3
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
gobject-introspection
gtk3
libhandy
librsvg
];
propagatedBuildInputs = with python3.pkgs; [
keyring
pygobject3
pyotp
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
description = "TOTP Authentication application for mobile";
homepage = "https://sr.ht/~martijnbraam/numberstation/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dotlambda ];
};
}