-147
doc/languages-frameworks/bower.section.md
-147
doc/languages-frameworks/bower.section.md
···-[Bower](https://bower.io) is a package manager for web site front-end components. Bower packages (comprising of build artifacts and sometimes sources) are stored in `git` repositories, typically on Github. The package registry is run by the Bower team with package metadata coming from the `bower.json` file within each package.-The end result of running Bower is a `bower_components` directory which can be included in the web app's build process.-Bower can be run interactively, by installing `nodePackages.bower`. More interestingly, the Bower components can be declared in a Nix derivation, with the help of `bower2nix`.-(fetchbower "bootstrap" "3.3.6" "~3.3.6" "1vvqlpbfcy0k5pncfjaiskj3y6scwifxygfqnw393sjfxiviwmbv")-(fetchbower "jquery" "2.2.2" "1.9.1 - 2" "10sp5h98sqwk90y4k6hbdviwqzvzwqf47r3r51pakch5ii2y7js1")-Using the `bower2nix` command line arguments, the output can be redirected to a file. A name like `bower-packages.nix` would be fine.-The resulting derivation is a union of all the downloaded Bower packages (and their dependencies). To use it, they still need to be linked together by Bower, which is where `buildBowerComponents` is useful.-The function is implemented in [pkgs/development/bower-modules/generic/default.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/bower-modules/generic/default.nix).-In ["buildBowerComponents" example](#ex-buildBowerComponents) the following arguments are of special significance to the function:-`buildBowerComponents` will run Bower to link together the output of `bower2nix`, resulting in a `bower_components` directory which can be used.-Here is an example of a web frontend build process using `gulp`. You might use `grunt`, or anything else.-2. Whether to symlink or copy the {file}`bower_components` directory depends on the build tool in use.-4. The actual build command in this example is {command}`gulp`. Other tools could be used instead.-This means that Bower was looking for a package version which doesn't exist in the generated `bower-packages.nix`.-It could also be a bug in `bower2nix` or `fetchbower`. If possible, try reformulating the version specification in `bower.json`.
-1
doc/languages-frameworks/index.md
-1
doc/languages-frameworks/index.md
+10
-28
doc/redirects.json
+10
-28
doc/redirects.json
······
+2
doc/release-notes/rl-2511.section.md
+2
doc/release-notes/rl-2511.section.md
···+- Everything related to `bower` was removed, as it is deprecated and not used by anything in nixpkgs.- The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader
-41
pkgs/build-support/fetchbower/default.nix
-41
pkgs/build-support/fetchbower/default.nix
···
-44
pkgs/by-name/bo/bower2nix/package.nix
-44
pkgs/by-name/bo/bower2nix/package.nix
···
-51
pkgs/development/bower-modules/generic/default.nix
-51
pkgs/development/bower-modules/generic/default.nix
···
+1
pkgs/development/node-packages/aliases.nix
+1
pkgs/development/node-packages/aliases.nix
···
-1
pkgs/development/node-packages/node-packages.json
-1
pkgs/development/node-packages/node-packages.json
-18
pkgs/development/node-packages/node-packages.nix
-18
pkgs/development/node-packages/node-packages.nix
···-sha512 = "8Rq058FD91q9Nwthyhw0la9fzpBz0iwZTrt51LWl+w+PnJgZk9J+5wp3nibsJcIUPglMYXr4NRBaR+TUj0OkBQ==";
+3
pkgs/top-level/aliases.nix
+3
pkgs/top-level/aliases.nix
···boost184 = throw "Boost 1.84 has been removed as it is obsolete and no longer used by anything in Nixpkgs"; # Added 2024-11-24boost185 = throw "Boost 1.85 has been removed as it is obsolete and no longer used by anything in Nixpkgs"; # Added 2024-11-24boost_process = throw "boost_process has been removed as it is included in regular boost"; # Added 2024-05-01+bower2nix = throw "bower2nix has been removed as bower was removed. It is recommended to migrate to yarn."; # Added 2025-09-17bpb = throw "bpb has been removed as it is unmaintained and not compatible with recent Rust versions"; # Added 2024-04-30bpftool = throw "'bpftool' has been renamed to/replaced by 'bpftools'"; # Converted to throw 2024-10-17brasero-original = lib.warnOnInstantiate "Use 'brasero-unwrapped' instead of 'brasero-original'" brasero-unwrapped; # Added 2024-09-29···budgie = throw "The `budgie` scope has been removed and all packages moved to the top-level"; # Added 2024-07-14budgiePlugins = throw "The `budgiePlugins` scope has been removed and all packages moved to the top-level"; # Added 2024-07-14buildBarebox = throw "buildBarebox has been removed due to lack of interest in maintaining it in nixpkgs"; # Added 2025-04-19+buildBowerComponents = throw "buildBowerComponents has been removed as bower was removed. It is recommended to migrate to yarn."; # Added 2025-09-17buildGo122Module = throw "Go 1.22 is end-of-life, and 'buildGo122Module' has been removed. Please use a newer builder version."; # Added 2025-03-28buildGo123Module = throw "Go 1.23 is end-of-life, and 'buildGo123Module' has been removed. Please use a newer builder version."; # Added 2025-08-13buildGoPackage = throw "`buildGoPackage` has been deprecated and removed, see the Go section in the nixpkgs manual for details"; # Added 2024-11-18···fdr = throw "fdr has been removed, as it cannot be built from source and depends on Python 2.x"; # Added 2025-03-19ferdi = throw "'ferdi' has been removed, upstream does not exist anymore and the package is insecure"; # Added 2024-08-22+fetchbower = throw "fetchbower has been removed as bower was removed. It is recommended to migrate to yarn."; # Added 2025-09-17fetchFromGithub = throw "You meant fetchFromGitHub, with a capital H"; # preserve, reason: common typoffmpeg_5 = throw "ffmpeg_5 has been removed, please use another version"; # Added 2024-07-12
-8
pkgs/top-level/all-packages.nix
-8
pkgs/top-level/all-packages.nix
······