Merge: zmap: 4.2.0 -> 4.3.1 (#364578)
[NixPkgs.git] / pkgs / by-name / sh / shipments / package.nix
blobf22cbed39da7b853ff813c65b120fa0db5cebb5b
2   desktop-file-utils,
3   fetchFromSourcehut,
4   gobject-introspection,
5   gtk3,
6   lib,
7   libhandy,
8   meson,
9   ninja,
10   pkg-config,
11   python3,
12   stdenv,
13   wrapGAppsHook3,
16 stdenv.mkDerivation rec {
17   pname = "shipments";
18   version = "0.3.0";
20   src = fetchFromSourcehut {
21     owner = "~martijnbraam";
22     repo = "shipments";
23     rev = version;
24     hash = "sha256-8wX1s5mPCdMINIQP4m5q5StKqxY6CGBBxIxyQAvU7Pc=";
25   };
27   nativeBuildInputs = [
28     desktop-file-utils
29     meson
30     ninja
31     pkg-config
32     wrapGAppsHook3
33     gobject-introspection
34   ];
36   buildInputs = [
37     gtk3
38     libhandy
39     (python3.withPackages (
40       ps: with ps; [
41         pygobject3
42         requests
43       ]
44     ))
45   ];
47   meta = with lib; {
48     description = "Postal package tracking application";
49     mainProgram = "shipments";
50     homepage = "https://sr.ht/~martijnbraam/shipments/";
51     changelog = "https://git.sr.ht/~martijnbraam/shipments/refs/${version}";
52     license = licenses.lgpl3;
53     maintainers = with maintainers; [ michaelgrahamevans ];
54   };