mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #267726 from zupo/update/elm-test-rs
elmPackages.elm-test-rs: 2.0 -> 3.0
This commit is contained in:
commit
357b1dc580
1026
pkgs/development/compilers/elm/packages/elm-test-rs/Cargo.lock
generated
Normal file
1026
pkgs/development/compilers/elm/packages/elm-test-rs/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,31 +1,50 @@
|
||||
{ lib, rustPlatform, fetchurl, openssl, stdenv, darwin }:
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
openssl,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "elm-test-rs";
|
||||
version = "2.0";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mpizenberg/elm-test-rs/archive/v${version}.tar.gz";
|
||||
sha256 = "sha256:1manr42w613r9vyji7pxx5gb08jcgkdxv29qqylrqlwxa8d5dcid";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpizenberg";
|
||||
repo = "elm-test-rs";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-l3RV+j3wAQ88QGNXLILp7YiUpdk7bkN25Y723pDZw48=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals (!stdenv.isDarwin) [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
Security
|
||||
CoreServices
|
||||
]);
|
||||
|
||||
cargoSha256 = "sha256:1dpdlzv96kpc25yf5jgsz9qldghyw35x382qpxhkadkn5dryzjvd";
|
||||
buildInputs =
|
||||
lib.optionals (!stdenv.isDarwin) [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
Security
|
||||
CoreServices
|
||||
]
|
||||
);
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"pubgrub-dependency-provider-elm-0.1.0" = "sha256-00J5XZfmuB4/fgB06aaXrRjdmOpOsSwA3dC3Li1m2Cc=";
|
||||
};
|
||||
};
|
||||
# Tests perform networking and therefore can't work in sandbox
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Fast and portable executable to run your Elm tests";
|
||||
mainProgram = "elm-test-rs";
|
||||
homepage = "https://github.com/mpizenberg/elm-test-rs";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.jpagex ];
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
jpagex
|
||||
zupo
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user