dart-sass: 1.83.0 -> 1.83.1 (#372038)
[NixPkgs.git] / pkgs / by-name / ta / tasks / package.nix
blob068eb2c2ba93796bf0a8c08d95fbf5519a788ba7
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   pkg-config,
6   wrapGAppsHook3,
7   atk,
8   cairo,
9   gdk-pixbuf,
10   glib,
11   gtk3,
12   libsecret,
13   libxkbcommon,
14   openssl,
15   pango,
16   sqlite,
17   vulkan-loader,
18   wayland,
19   nix-update-script,
22 rustPlatform.buildRustPackage rec {
23   pname = "tasks";
24   version = "0.1.0";
26   src = fetchFromGitHub {
27     owner = "edfloreshz";
28     repo = "tasks";
29     tag = version;
30     hash = "sha256-0bXzeKnJ5MIl7vCo+7kyXm3L6QrCdm5sPreca1SPi8U=";
31   };
33   cargoLock = {
34     lockFile = ./Cargo.lock;
35     outputHashes = {
36       "accesskit-0.12.2" = "sha256-ksaYMGT/oug7isQY8/1WD97XDUsX2ShBdabUzxWffYw=";
37       "atomicwrites-0.4.2" = "sha256-QZSuGPrJXh+svMeFWqAXoqZQxLq/WfIiamqvjJNVhxA=";
38       "clipboard_macos-0.1.0" = "sha256-temNg+RdvquSLAdkwU5b6dtu9vZkXjnDASS/eJo2rz8=";
39       "cosmic-config-0.1.0" = "sha256-dYxBp/2JkgFUtkcfzQieHS7MPf6GoOIxuCN/8AZraio=";
40       "cosmic-text-0.11.2" = "sha256-O8l3Auo+7/aqPYvWQXpOdrVHHdjc1fjoU1nFxqdiZ5I=";
41       "d3d12-0.19.0" = "sha256-usrxQXWLGJDjmIdw1LBXtBvX+CchZDvE8fHC0LjvhD4=";
42       "glyphon-0.5.0" = "sha256-j1HrbEpUBqazWqNfJhpyjWuxYAxkvbXzRKeSouUoPWg=";
43       "smithay-client-toolkit-0.18.0" = "sha256-/7twYMt5/LpzxLXAQKTGNnWcfspUkkZsN5hJu7KaANc=";
44       "smithay-clipboard-0.8.0" = "sha256-MqzynFCZvzVg9/Ry/zrbH5R6//erlZV+nmQ2St63Wnc=";
45       "softbuffer-0.4.1" = "sha256-a0bUFz6O8CWRweNt/OxTvflnPYwO5nm6vsyc/WcXyNg=";
46       "taffy-0.3.11" = "sha256-SCx9GEIJjWdoNVyq+RZAGn0N71qraKZxf9ZWhvyzLaI=";
47       "winit-0.29.10" = "sha256-ScTII2AzK3SC8MVeASZ9jhVWsEaGrSQ2BnApTxgfxK4=";
48     };
49   };
51   # COSMIC applications now uses vergen for the About page
52   # Update the COMMIT_DATE to match when the commit was made
53   env.VERGEN_GIT_COMMIT_DATE = "2024-07-03";
54   env.VERGEN_GIT_SHA = "0e8c728c88a9cac1bac130eb083ca0fe58c7121d";
56   nativeBuildInputs = [
57     pkg-config
58     wrapGAppsHook3
59   ];
61   buildInputs = [
62     atk
63     cairo
64     gdk-pixbuf
65     glib
66     gtk3
67     libsecret
68     libxkbcommon
69     openssl
70     pango
71     sqlite
72     vulkan-loader
73     wayland
74   ];
76   postFixup = ''
77     wrapProgram $out/bin/tasks \
78       --prefix LD_LIBRARY_PATH : "${
79         lib.makeLibraryPath [
80           libxkbcommon
81           wayland
82         ]
83       }"
84   '';
86   passthru = {
87     updateScript = nix-update-script { };
88   };
90   meta = with lib; {
91     description = "Simple task management application for the COSMIC desktop";
92     homepage = "https://github.com/edfloreshz/tasks";
93     license = licenses.gpl3Only;
94     maintainers = with maintainers; [ GaetanLepage ];
95     platforms = platforms.linux;
96     mainProgram = "tasks";
97   };