Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / shipments / default.nix
blobdccd5dc89c69af247e820d3d426c8e9da65c4c7c
1 { desktop-file-utils
2 , fetchFromSourcehut
3 , gobject-introspection
4 , gtk3
5 , lib
6 , libhandy
7 , meson
8 , ninja
9 , pkg-config
10 , python3
11 , stdenv
12 , wrapGAppsHook
15 stdenv.mkDerivation rec {
16   pname = "shipments";
17   version = "0.3.0";
19   src = fetchFromSourcehut {
20     owner = "~martijnbraam";
21     repo = "shipments";
22     rev = version;
23     hash = "sha256-8wX1s5mPCdMINIQP4m5q5StKqxY6CGBBxIxyQAvU7Pc=";
24   };
26   nativeBuildInputs = [
27     desktop-file-utils
28     meson
29     ninja
30     pkg-config
31     wrapGAppsHook
32     gobject-introspection
33   ];
35   buildInputs = [
36     gtk3
37     libhandy
38     (python3.withPackages (ps: with ps; [
39       pygobject3
40       requests
41     ]))
42   ];
44   meta = with lib; {
45     description = "Postal package tracking application";
46     homepage = "https://sr.ht/~martijnbraam/shipments/";
47     changelog = "https://git.sr.ht/~martijnbraam/shipments/refs/${version}";
48     license = licenses.lgpl3;
49     maintainers = with maintainers; [ michaelgrahamevans ];
50   };