From 8ab57a2bb466907b0f5ddf9b9d69f2118a90aa56 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Thu, 9 Jan 2020 15:30:54 +0200 Subject: [PATCH] cargo-deb: 1.23.0 -> 1.23.1 --- .../package-management/cargo-deb/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/package-management/cargo-deb/default.nix b/pkgs/tools/package-management/cargo-deb/default.nix index d9e0630e6ff5..1af8be3da44c 100644 --- a/pkgs/tools/package-management/cargo-deb/default.nix +++ b/pkgs/tools/package-management/cargo-deb/default.nix @@ -1,21 +1,25 @@ -{ stdenv, fetchurl, fetchFromGitHub, rustPlatform, Security }: +{ stdenv +, lib +, fetchFromGitHub +, rustPlatform +, Security }: rustPlatform.buildRustPackage rec { pname = "cargo-deb"; - version = "1.23.0"; + version = "1.23.1"; src = fetchFromGitHub { owner = "mmstick"; - repo = "cargo-deb"; + repo = pname; rev = "v${version}"; - sha256 = "0jjhbs48f0rprzxnfgav6mjbyvcqnr7xq1qgyjxwd61z8g3m8hx8"; + sha256 = "0dkkbyzimnzfyrzmfn83jqg5xq53wzrknixnyh46cniqffqhd663"; }; - buildInputs = with stdenv; lib.optionals isDarwin [ Security ]; + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; - cargoSha256 = "03z9hq873jfsbssnd3kr5vz9lx9mvhb1navb2glm6kkw1k2zm4d2"; + cargoSha256 = "0j64dcczxdr9zdch4a241d5adgipzz8sgbw00min9k3p8hbljd9n"; - meta = with stdenv.lib; { + meta = with lib; { description = "Generate Debian packages from information in Cargo.toml"; homepage = "https://github.com/mmstick/cargo-deb"; license = licenses.mit;