mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
polaris: 0.14.2 -> 0.14.3
diff: https://github.com/agersant/polaris/compare/0.14.2...0.14.3 release: https://github.com/agersant/polaris/releases/tag/0.14.3
This commit is contained in:
parent
4a35036455
commit
6bac871832
@ -4,20 +4,19 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, polaris-web
|
, polaris-web
|
||||||
, fetchpatch
|
|
||||||
, darwin
|
, darwin
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "polaris";
|
pname = "polaris";
|
||||||
version = "0.14.2";
|
version = "0.14.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "agersant";
|
owner = "agersant";
|
||||||
repo = "polaris";
|
repo = "polaris";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-UC66xRL9GyTPHJ3z0DD/yyI9GlyqelCaHHDyl79ptJg=";
|
hash = "sha256-2GHYIlEzRS7KXahdrxMjyIcPCNw8gXJw5/4ZpB/zT3Y=";
|
||||||
|
|
||||||
# The polaris version upstream in Cargo.lock is "0.0.0".
|
# The polaris version upstream in Cargo.lock is "0.0.0".
|
||||||
# We're unable to simply patch it in the patch phase due to
|
# We're unable to simply patch it in the patch phase due to
|
||||||
@ -31,15 +30,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoPatches = [
|
cargoHash = if stdenv.buildPlatform.isDarwin
|
||||||
(fetchpatch { # https://github.com/agersant/polaris/pull/213
|
then "sha256-HTqsghjfSjwOaN/ApPFvWVEoquZzE3MYzULkhUOXIWI"
|
||||||
name = "bump-time-crate.patch";
|
else "sha256-Z3AbYtdNAyKT5EuGtCktEg0fxs/gpKdsrttRkxZhLAU";
|
||||||
url = "https://github.com/agersant/polaris/commit/f625c57d203bdd3f2d7fcd99ccce1032f04d9b91.patch";
|
|
||||||
hash = "sha256-ICScYbSv4sCMbfZN2thhZMXGPcDX89xIhZqBJpGOzrY=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoHash = "sha256-PnNLSL6YIpM6b3+oCh2eNRNPpCKyvnWEW7uNaYTKzAU=";
|
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
darwin.Security
|
darwin.Security
|
||||||
|
Loading…
Reference in New Issue
Block a user