summary refs log tree commit diff
path: root/pkgs/build-support/make-desktopitem/default.nix
Commit message (Collapse)AuthorAge
* treewide: deprecate isNullFelix Buehler2023-03-06
| | | | https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
* build-support/makeDesktopItem: make overridableJamie Quigley2022-06-09
|
* build-support/makeDesktopItem: remove workaround, fix quotingK9002022-03-10
|
* makeDesktopItem: improve error messagesJörg Thalheim2022-03-09
|
* makeDesktopItem: use desktop-file-utils from buildPackages in checkPhaseNick Cao2022-03-08
|
* treewide: fix some desktop file namesK9002022-02-28
| | | | | | | pkgs.writeTextFile doesn't like spaces in filenames. This is fixed in #162246, but other tools will probably dislike spaces in .desktop file names as well, and that PR will take forever, so let's fix this anyway.
* build-support/makeDesktopItem: make fully declarative, add all missing optionsK9002022-02-25
| | | | | | | This updates makeDesktopItem to explicitly support all the fields in the spec, converts list-like fields to native Nix lists instead of semicolon-separated strings, and allows automatically generating [Desktop Action] sections from Nix code instead of hardcoding them as extraConfig strings.
* build-support/make-desktopitem: add some missing fieldsAntoine Fontaine2021-06-04
|
* make-desktopitem: desktop-file-utils is a nativeBuildInputFlorian Klink2020-11-27
| | | | This fixes cross-compilation of a NixOS with the manual enabled.
* make-desktopitem: name was being used instead of desktopNameLeon Vack2020-10-15
| | | | Name should be used as filename and desktopName for the name attribute of the desktop entry (according to docs).
* make-desktopitem: minor fixes and code stylepiegames2020-10-14
|
* make-desktopitem: refactoring, documentation and improvementpiegames2020-06-29
| | | | | | | | - New parameter `extraDesktopEntries` to easily add some less usual entries to the desktop file - Rewrite of the core logic. Instead of a key-value-list, use an attribute set with nullable values to make it overridable - Added some comments - Some cosmetic/readability code refactors - I didn't like the doubly nested strings around the `fileValidation`
* makeDesktopItem: make categories optionalOrivej Desh2020-03-31
| | | | | | | "Application" is deprecated, "Other" is invalid, there are no generic categories, and the Categories fields is optional per the spec. Fixes the defaults after #75729.
* makeDesktopItem: add desktop file validationworldofpeace2019-12-15
| | | | | This uses desktop-file-validate in desktop-file-utils. It can be turned off if wanted.
* makeDesktopItem: use runCommandLocalBjørn Forsman2019-12-08
| | | | | | | This derivation only creates a simple text file, so it makes sense to do it locally. On my setup this reduces build time from 2.2s to 1.2s.
* make-desktopitem: make genericName optionalLaverne Schrock2017-06-05
|
* chromium: add StartupWMClass to desktop file. Fixes #12433Luca Bruno2016-02-29
|
* makeDesktopItem: change `name` of the derivationsVladimír Čunát2016-01-15
| | | | | The name wasn't suggesting what kind of stuff is in there; now it's the same as the name of the file that gets generated.
* makeDesktopItem: add StartupNotify keyThomas Tuegel2015-12-12
|
* makeDesktopItem: don't generated a deprecated keyVladimír Čunát2015-06-18
| | | | | Fixes #4319. We even seem we never override it anywhere. http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html#deprecated-items
* * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointlessEelco Dolstra2012-01-18
| | | | | | function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
* Added desktop file generation function and desktop item for firefoxSander van der Burg2009-05-10
svn path=/nixpkgs/trunk/; revision=15529