mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
mousam: init at 1.1.0
This commit is contained in:
parent
5c31c4a2b6
commit
c8a386e6c3
58
pkgs/by-name/mo/mousam/package.nix
Normal file
58
pkgs/by-name/mo/mousam/package.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, gobject-introspection
|
||||
, wrapGAppsHook4
|
||||
, desktop-file-utils
|
||||
, libadwaita
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mousam";
|
||||
version = "1.1.0";
|
||||
# built with meson, not a python format
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amit9838";
|
||||
repo = "mousam";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4NJLJ9aPCufvqZGzqQEjSxryofcg4mwk0UohlgUYcqk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
wrapGAppsHook4
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pygobject3
|
||||
requests
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Beautiful and lightweight weather app based on Python and GTK4";
|
||||
homepage = "https://amit9838.github.io/mousam";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
mainProgram = "mousam";
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user