base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / bo / bower2nix / package.nix
blobc0db35461b578128a9687d14e8650ee4b3ca610c
2   buildNpmPackage,
3   fetchFromGitHub,
4   git,
5   lib,
6   nix,
7   unstableGitUpdater,
8 }:
10 buildNpmPackage rec {
11   pname = "bower2nix";
12   version = "3.2.0-unstable-2024-06-25";
14   src = fetchFromGitHub {
15     owner = "rvl";
16     repo = "bower2nix";
17     rev = "b5da44f055c7561ed7a46226b3be0070e07d80e6";
18     hash = "sha256-da+m2UWQ83tW1o0P1qvw35KpsXL/BDTeShg4KxL+7Ck=";
19   };
21   npmDepsHash = "sha256-TK1sqF2J/hQuP3bgGA4MolLA7LWWuYNnqf4gDyU154k=";
23   npmBuildScript = "prepare";
25   makeWrapperArgs = [
26     "--prefix PATH : ${
27       lib.makeBinPath [
28         git
29         nix
30       ]
31     }"
32   ];
34   passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
36   meta = {
37     changelog = "https://github.com/rvl/bower2nix/releases/tag/v${version}";
38     description = "Generate nix expressions to fetch bower dependencies";
39     homepage = "https://github.com/rvl/bower2nix";
40     license = lib.licenses.gpl3Only;
41     mainProgram = "bower2nix";
42     maintainers = [ ];
43   };