mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
elmPackages.elm-wrap: init at 1.0.1 (#533533)
This commit is contained in:
@@ -69,6 +69,8 @@ lib.makeScope pkgs.newScope (
|
||||
elm-xref = callPackage ./packages/elm-xref { };
|
||||
|
||||
lamdera = callPackage ./packages/lamdera { };
|
||||
|
||||
elm-wrap = callPackage ./packages/elm-wrap { };
|
||||
}
|
||||
// lib.optionalAttrs config.allowAliases {
|
||||
create-elm-app = throw "'elmPackages.create-elm-app' has not had a release since December 2020, so it was removed."; # Added 2025-11-15
|
||||
|
||||
50
pkgs/development/compilers/elm/packages/elm-wrap/default.nix
Normal file
50
pkgs/development/compilers/elm/packages/elm-wrap/default.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
hostname,
|
||||
rsync,
|
||||
zip,
|
||||
curl,
|
||||
python3,
|
||||
lib,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "elm-wrap";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dsimunic";
|
||||
repo = "elm-wrap";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-n7wX2jP4sX2LYiiFKOIyrEw5B4eJB9Bp2JD4qpp9Kmw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hostname
|
||||
rsync
|
||||
zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
python3
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "make test";
|
||||
|
||||
buildFlags = [ "RELEASE_VERSION=1" ];
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/dsimunic/elm-wrap/blob/${version}/CHANGELOG.md";
|
||||
description = "This utility is a comprehensive package management solution for Elm programming language packages and code. It wraps Elm compiler and intercepts its package management commands like install to augment them with support for custom package registries and policies.";
|
||||
homepage = "https://elm-wrap.dev/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ turbomack ];
|
||||
mainProgram = "wrap";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user