diff options
Diffstat (limited to 'pkgs/development/compilers/elm/packages')
-rw-r--r-- | pkgs/development/compilers/elm/packages/elm-json.nix | 22 | ||||
-rw-r--r-- | pkgs/development/compilers/elm/packages/elm-test-rs.nix | 17 | ||||
-rw-r--r-- | pkgs/development/compilers/elm/packages/elm.nix | 1 |
3 files changed, 36 insertions, 4 deletions
diff --git a/pkgs/development/compilers/elm/packages/elm-json.nix b/pkgs/development/compilers/elm/packages/elm-json.nix index a480b9e0e1ebf..faf6ffd8a2e15 100644 --- a/pkgs/development/compilers/elm/packages/elm-json.nix +++ b/pkgs/development/compilers/elm/packages/elm-json.nix @@ -1,4 +1,13 @@ -{ lib, curl, rustPlatform, fetchurl, openssl, stdenv, pkg-config, Security }: +{ lib +, curl +, rustPlatform +, fetchurl +, openssl +, stdenv +, pkg-config +, darwin +}: + rustPlatform.buildRustPackage rec { pname = "elm-json"; version = "0.2.10"; @@ -12,10 +21,19 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ curl openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ + curl openssl + ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; cargoSha256 = "sha256:01zasrqf1va58i52s3kwdkj1rnwy80gv00xi6npfshjirj3ix07f"; # Tests perform networking and therefore can't work in sandbox doCheck = false; + + meta = with lib; { + description = "Install, upgrade and uninstall Elm dependencies"; + homepage = "https://github.com/zwilias/elm-json"; + license = licenses.mit; + maintainers = [ maintainers.turbomack ]; + }; } diff --git a/pkgs/development/compilers/elm/packages/elm-test-rs.nix b/pkgs/development/compilers/elm/packages/elm-test-rs.nix index a482809ab50d0..09d453b00f834 100644 --- a/pkgs/development/compilers/elm/packages/elm-test-rs.nix +++ b/pkgs/development/compilers/elm/packages/elm-test-rs.nix @@ -1,4 +1,5 @@ -{ lib, rustPlatform, fetchurl, openssl, stdenv, Security, darwin }: +{ lib, rustPlatform, fetchurl, openssl, stdenv, darwin }: + rustPlatform.buildRustPackage rec { pname = "elm-test-rs"; version = "2.0"; @@ -8,11 +9,23 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256:1manr42w613r9vyji7pxx5gb08jcgkdxv29qqylrqlwxa8d5dcid"; }; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security darwin.apple_sdk.frameworks.CoreServices ]; + buildInputs = lib.optionals (!stdenv.isDarwin) [ + openssl + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ + Security + CoreServices + ]); cargoSha256 = "sha256:1dpdlzv96kpc25yf5jgsz9qldghyw35x382qpxhkadkn5dryzjvd"; verifyCargoDeps = true; # Tests perform networking and therefore can't work in sandbox doCheck = false; + + meta = with lib; { + description = "Fast and portable executable to run your Elm tests"; + homepage = "https://github.com/mpizenberg/elm-test-rs"; + license = licenses.bsd3; + maintainers = [ maintainers.jpagex ]; + }; } diff --git a/pkgs/development/compilers/elm/packages/elm.nix b/pkgs/development/compilers/elm/packages/elm.nix index c012d59d8ae31..e24ece00ffef8 100644 --- a/pkgs/development/compilers/elm/packages/elm.nix +++ b/pkgs/development/compilers/elm/packages/elm.nix @@ -6,6 +6,7 @@ , snap-core, snap-server, lib, template-haskell, time , unordered-containers, utf8-string, vector, zip-archive }: + mkDerivation { pname = "elm"; version = "0.19.1"; |