nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 1.0 kB view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8buildNpmPackage (finalAttrs: { 9 pname = "elm-optimize-level-2"; 10 version = "0.3.4-unstable-2022-04-05"; 11 12 src = fetchFromGitHub { 13 owner = "mdgriffith"; 14 repo = "elm-optimize-level-2"; 15 rev = "46b0975d5349260d2492c2ee532af7230f5af407"; 16 hash = "sha256-l93qrkGAmGdZdj9j97MEUiprQT7gFqtL71rb5zOJwk4="; 17 }; 18 19 npmDepsHash = "sha256-4noXdD/KUNridPlwQ2cqVcAaUoP5XUwZhpbEPHVBeqo="; 20 21 npmFlags = [ "--ignore-scripts" ]; 22 23 passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; 24 25 meta = { 26 changelog = "https://github.com/mdgriffith/elm-optimize-level-2/blob/master/CHANGELOG.md"; 27 description = "A second level of optimization for the Javascript that the Elm Compiler produces."; 28 homepage = "https://github.com/mdgriffith/elm-optimize-level-2"; 29 license = lib.licenses.bsd3; 30 maintainers = with lib.maintainers; [ pyrox0 ]; 31 mainProgram = "elm-optimize-level-2"; 32 }; 33})