aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix14
1 files changed, 5 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix b/nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix
index 5b73752659b..0685c11ddfa 100644
--- a/nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix
+++ b/nixpkgs/pkgs/development/tools/rust/cargo-make/default.nix
@@ -2,7 +2,7 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-make";
- version = "0.22.1";
+ version = "0.23.0";
src =
let
@@ -10,22 +10,18 @@ rustPlatform.buildRustPackage rec {
owner = "sagiegurari";
repo = pname;
rev = version;
- sha256 = "1wsams41zl56mkb8671n5fqkkchs68jd9nvfzry8axxiv7n175gc";
- };
- cargo-lock = fetchurl {
- url = "https://gist.githubusercontent.com/xrelkd/e4c9c7738b21f284d97cb7b1d181317d/raw/850e9830f4ab4bc65da6eb5cd8b0911970a7739f/cargo-make-Cargo.lock";
- sha256 = "0knmzplxmh8vksmpg56l2p1a10hpqbr9hmbk3hv0aj63125rhhqy";
+ sha256 = "1g62k0g9b5m8jaxxkbx0d59k8yb3di59l3p9m32hx617rn4k5wjd";
};
in
runCommand "cargo-make-src" {} ''
cp -R ${source} $out
chmod +w $out
- cp ${cargo-lock} $out/Cargo.lock
+ cp ${./Cargo.lock} $out/Cargo.lock
'';
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
- cargoSha256 = "18j0nflf997z4nwdxifxp1ji1rbwqbg6zm2256j21am4ak45krsy";
+ cargoSha256 = "1mfsjxvyybq9d5702habxq5abcp9h11qx0ci2rqs2rgkbcnksk98";
# Some tests fail because they need network access.
# However, Travis ensures a proper build.
@@ -37,7 +33,7 @@ rustPlatform.buildRustPackage rec {
description = "A Rust task runner and build tool";
homepage = "https://github.com/sagiegurari/cargo-make";
license = licenses.asl20;
- maintainers = with maintainers; [ xrelkd ];
+ maintainers = with maintainers; [ xrelkd ma27 ];
platforms = platforms.all;
};
}