git.iko.soy/typeable/nixpkgs
on master help sign in
numberstation: init at 0.4.0 (#122190)
commitce0cabb49d5bd4f4afca3ec040888f3bd65bb42a authorRobert Schütz <dev@schuetz-co.de> dateMon 17 May 2021, 00:16 (6 years ago) parent4db951e
2 files changed+70
pkgs/applications/misc/numberstation/default.nix+68 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/numberstation/default.nixnew file+68
@@ -0,0 +1,68 @@
1+{ lib
2+, python3
3+, fetchFromSourcehut
4+, desktop-file-utils
5+, glib
6+, gobject-introspection
7+, gtk3
8+, libhandy
9+, librsvg
10+, meson
11+, ninja
12+, pkg-config
13+, wrapGAppsHook
14+}:
15+
16+python3.pkgs.buildPythonApplication rec {
17+ pname = "numberstation";
18+ version = "0.4.0";
19+
20+ format = "other";
21+
22+ src = fetchFromSourcehut {
23+ owner = "~martijnbraam";
24+ repo = "numberstation";
25+ rev = version;
26+ sha256 = "038yyffqknr274f7jh5z12y68pjxr37f8y2cn2pwhf605jmbmpwv";
27+ };
28+
29+ postPatch = ''
30+ patchShebangs build-aux/meson
31+ '';
32+
33+ nativeBuildInputs = [
34+ desktop-file-utils
35+ glib
36+ gtk3
37+ meson
38+ ninja
39+ pkg-config
40+ wrapGAppsHook
41+ ];
42+
43+ buildInputs = [
44+ gobject-introspection
45+ gtk3
46+ libhandy
47+ librsvg
48+ ];
49+
50+ propagatedBuildInputs = with python3.pkgs; [
51+ keyring
52+ pygobject3
53+ pyotp
54+ ];
55+
56+ dontWrapGApps = true;
57+
58+ preFixup = ''
59+ makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
60+ '';
61+
62+ meta = with lib; {
63+ description = "TOTP Authentication application for mobile";
64+ homepage = "https://sr.ht/~martijnbraam/numberstation/";
65+ license = licenses.gpl3Only;
66+ maintainers = with maintainers; [ dotlambda ];
67+ };
68+}
pkgs/top-level/all-packages.nix+2
@@ -7036,6 +7036,8 @@ in
70367036
70377037 ntlmrecon = callPackage ../tools/security/ntlmrecon { };
70387038
7039+ numberstation = callPackage ../applications/misc/numberstation { };
7040+
70397041 nvchecker = with python3Packages; toPythonApplication nvchecker;
70407042
70417043 miller = callPackage ../tools/text/miller { };