From bdb5111a20331283c2f52df45e337da77059745b Mon Sep 17 00:00:00 2001 From: Michael Evans Date: Wed, 8 Feb 2023 22:50:59 +0200 Subject: [PATCH] shipments: init at 0.3.0 --- pkgs/applications/misc/shipments/default.nix | 49 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 pkgs/applications/misc/shipments/default.nix diff --git a/pkgs/applications/misc/shipments/default.nix b/pkgs/applications/misc/shipments/default.nix new file mode 100644 index 000000000000..5b1332a91d73 --- /dev/null +++ b/pkgs/applications/misc/shipments/default.nix @@ -0,0 +1,49 @@ +{ desktop-file-utils +, fetchurl +, gobject-introspection +, gtk3 +, lib +, libhandy +, meson +, ninja +, pkg-config +, python3 +, stdenv +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "shipments"; + version = "0.3.0"; + + src = fetchurl { + url = "https://git.sr.ht/~martijnbraam/shipments/archive/${version}.tar.gz"; + sha256 = "1znybldx21wjnb8qy6q9p52pi6lfz81743xgrnjmvjji4spwaipf"; + }; + + nativeBuildInputs = [ + desktop-file-utils + meson + ninja + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + gobject-introspection + gtk3 + libhandy + (python3.withPackages (ps: with ps; [ + pygobject3 + requests + ])) + ]; + + meta = with lib; { + description = "Postal package tracking application"; + homepage = "https://sr.ht/~martijnbraam/shipments/"; + changelog = "https://git.sr.ht/~martijnbraam/shipments/refs/${version}"; + license = licenses.lgpl3; + maintainers = with maintainers; [ michaelgrahamevans ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 698edfa6b86e..ea3e7d1ab434 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32916,9 +32916,11 @@ with pkgs; shfmt = callPackage ../tools/text/shfmt { }; + shipments = callPackage ../applications/misc/shipments { }; + shortwave = callPackage ../applications/audio/shortwave { }; - shotgun = callPackage ../tools/graphics/shotgun {}; + shotgun = callPackage ../tools/graphics/shotgun { }; shutter = callPackage ../applications/graphics/shutter { };