mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
cinny-{unwrapped,desktop}: 4.7.0 -> 4.8.0 (#409531)
This commit is contained in:
commit
93da65ede6
2 changed files with 13 additions and 13 deletions
|
@ -15,29 +15,29 @@
|
||||||
moreutils,
|
moreutils,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "cinny-desktop";
|
pname = "cinny-desktop";
|
||||||
# We have to be using the same version as cinny-web or this isn't going to work.
|
# We have to be using the same version as cinny-web or this isn't going to work.
|
||||||
version = "4.7.0";
|
version = "4.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cinnyapp";
|
owner = "cinnyapp";
|
||||||
repo = "cinny-desktop";
|
repo = "cinny-desktop";
|
||||||
tag = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ls0ZxXiIrjyLL0MoxOTU/RK0k323nUiQfxtlwsEL45U=";
|
hash = "sha256-cixpsn0jMufd6VrBCsCH9t3bpkKdgi1i0qnkBlLgLG0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/src-tauri";
|
sourceRoot = "${finalAttrs.src.name}/src-tauri";
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-NSzGB6o6BBoak2gbSOu8ucWA+R+behuTxeMnKpyA7no=";
|
cargoHash = "sha256-twfRuoA4z+Xgyyn7aIRy6MV1ozN2+qhSLh8i+qOTa2Q=";
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
let
|
let
|
||||||
cinny' =
|
cinny' =
|
||||||
assert lib.assertMsg (
|
assert lib.assertMsg (
|
||||||
cinny.version == version
|
cinny.version == finalAttrs.version
|
||||||
) "cinny.version (${cinny.version}) != cinny-desktop.version (${version})";
|
) "cinny.version (${cinny.version}) != cinny-desktop.version (${finalAttrs.version})";
|
||||||
cinny.override {
|
cinny.override {
|
||||||
conf = {
|
conf = {
|
||||||
hashRouter.enabled = true;
|
hashRouter.enabled = true;
|
||||||
|
@ -95,4 +95,4 @@ rustPlatform.buildRustPackage rec {
|
||||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||||
mainProgram = "cinny";
|
mainProgram = "cinny";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -13,16 +13,16 @@
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "cinny-unwrapped";
|
pname = "cinny-unwrapped";
|
||||||
version = "4.7.0";
|
version = "4.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cinnyapp";
|
owner = "cinnyapp";
|
||||||
repo = "cinny";
|
repo = "cinny";
|
||||||
rev = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-x4cRZ0XfyvRqOWIqtsVBiIPDxC3J9SUdoReiWNUB/X8=";
|
hash = "sha256-yM+P7KXT/cspKt2l4+COoH68jCJUSs2TrfJGZHF/lYY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-s8dKMGwg6DL+aEq0Sk04VF1pSDpAW18Dok113xDWb8Q=";
|
npmDepsHash = "sha256-RWc8nSh/HuXUokU2RZnmwYUCfBxpL9Wp1Sgi2l1CN38=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
python3
|
python3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue