Merge pull request #51327 from k0ral/loop

loop: init at unstable-2018-10-02
This commit is contained in:
Alexey Shmalko 2018-12-04 01:37:23 +02:00 committed by GitHub
commit d5b45b4ff8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage {
name = "loop-unstable-2018-10-02";
src = fetchFromGitHub {
owner = "Miserlou";
repo = "Loop";
rev = "d6ef3c5a0ecd4f533908abee5e481419a1a6eeae";
sha256 = "1fhihm32v77rj6r3scwmnvzsivky50g7a1644qrn8pafpjs4zwx5";
};
cargoSha256 = "1ccf8dkswwdbwf9diy0l4vc4i2g05ynhi3w1jg3b2ldrvj0j9m9s";
cargoPatches = [
# Upstream includes mismatched Cargo.lock file.
# See https://github.com/Miserlou/Loop/pull/40
./fix_cargo_lock.patch
];
meta = with stdenv.lib; {
description = "UNIX's missing `loop` command";
homepage = https://github.com/Miserlou/Loop;
maintainers = with maintainers; [ koral ];
license = licenses.mit;
};
}

View file

@ -0,0 +1,12 @@
diff --git a/Cargo.lock b/Cargo.lock
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -107,7 +107,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "loop-rs"
-version = "0.3.5"
+version = "0.4.0"
dependencies = [
"atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"humantime 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -22187,6 +22187,8 @@ in
openlilylib-fonts = callPackage ../misc/lilypond/fonts.nix { };
loop = callPackage ../tools/misc/loop { };
mailcore2 = callPackage ../development/libraries/mailcore2 {
icu = icu58;
};