mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 07:57:32 +03:00
git-branchless: 0.8.0 -> 0.9.0
This commit is contained in:
parent
a0691657e9
commit
08d64d1120
@ -1,6 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, git
|
, git
|
||||||
, libiconv
|
, libiconv
|
||||||
, ncurses
|
, ncurses
|
||||||
@ -15,31 +14,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "git-branchless";
|
pname = "git-branchless";
|
||||||
version = "0.8.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "arxanas";
|
owner = "arxanas";
|
||||||
repo = "git-branchless";
|
repo = "git-branchless";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-ev56NzrEF7xm3WmR2a0pHPs69Lvmb4He7+kIBYiJjKY=";
|
hash = "sha256-4RRSffkAe0/8k4SNnlB1iiaW4gWFTuYXplVBj2aRIdU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
cargoHash = "sha256-Jg4d7tJXr2O1sEDdB/zk+7TPBZvgHlmW8mNiXozLKV8=";
|
||||||
# Fix tests with Git 2.44.0+
|
|
||||||
(fetchpatch {
|
|
||||||
name = "1245.patch"; # https://github.com/arxanas/git-branchless/pull/1245
|
|
||||||
url = "https://github.com/arxanas/git-branchless/commit/c8436aed3d616409b4d6fb1eedb383077f435497.patch";
|
|
||||||
hash = "sha256-gBm0A478Uhg9IQVLQppvIeTa8s1yHUMddxiUbpHUvGw=";
|
|
||||||
})
|
|
||||||
# Fix tests with Git 2.44.0+
|
|
||||||
(fetchpatch {
|
|
||||||
name = "1161.patch"; # https://github.com/arxanas/git-branchless/pull/1161
|
|
||||||
url = "https://github.com/arxanas/git-branchless/commit/6e1f26900a0dd60d10d9aa3552cab9181fa7be03.patch";
|
|
||||||
hash = "sha256-KHobEIXhlDar8CvIVUi4I695jcJZXgGRhU86b99x86Y=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoHash = "sha256-Ppw5TN/6zMNxFAx90Q9hQ7RdGxV+TT8UlOm68ldK8oc=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user