forked from mirrors/nixpkgs
cargo-modules: 0.7.1 -> 0.7.2
Diff: https://github.com/regexident/cargo-modules/compare/0.7.1...0.7.2 Changelog: https://github.com/regexident/cargo-modules/blob/0.7.2/CHANGELOG.md
This commit is contained in:
parent
1f72e85772
commit
c6245bdfde
|
@ -1,17 +1,26 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
|
{ lib, rustPlatform, fetchFromGitHub, fetchpatch, stdenv, darwin }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-modules";
|
pname = "cargo-modules";
|
||||||
version = "0.7.1";
|
version = "0.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "regexident";
|
owner = "regexident";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-vMmbed2UOe/N8V7LbvYm7BbOOHD69qaizkYf66VCZMs=";
|
sha256 = "sha256-QRBhlSHqOTJCdzZhqpcfLeCDuCfJsjyxa2+6yzzN52g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-xo3EUDWoE1OFTaA9y3ymGA/l2fwNqnPBLpNc8xyjasY=";
|
cargoSha256 = "sha256-+asFAkUOHP9u/nOoHsr81KeqQkLqaRXhJH32oTG5vYo=";
|
||||||
|
|
||||||
|
cargoPatches = [
|
||||||
|
# https://github.com/regexident/cargo-modules/pull/161;
|
||||||
|
(fetchpatch {
|
||||||
|
name = "update-outdated-lock-file.patsh";
|
||||||
|
url = "https://github.com/regexident/cargo-modules/commit/ea9029b79acdadddbaf4067076690153c38cd09c.patch";
|
||||||
|
sha256 = "sha256-DOLvo/PP+4/6i1IYbl9oGC6BAnXNI88hK5he9549EJk=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.CoreServices
|
darwin.apple_sdk.frameworks.CoreServices
|
||||||
|
|
Loading…
Reference in a new issue