mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
rivercarro: 0.3.0 -> 0.4.0
This commit is contained in:
parent
d3d9fbe098
commit
8d704b095e
@ -1,23 +1,24 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, callPackage
|
||||
, fetchFromSourcehut
|
||||
, pkg-config
|
||||
, river
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, zig_0_11
|
||||
, zig_0_12
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rivercarro";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~novakane";
|
||||
repo = "rivercarro";
|
||||
rev = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-lucwn9MmyVd4pynuG/ZAXnZ384wdS0gi7JN44vNQA1I=";
|
||||
hash = "sha256-nDKPv/roweW7ynEROsipUJPvs6VMmz3E4JzEFRBzE6s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -25,9 +26,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
river
|
||||
wayland
|
||||
wayland-protocols
|
||||
zig_0_11.hook
|
||||
zig_0_12.hook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://git.sr.ht/~novakane/rivercarro";
|
||||
description = "Layout generator for river Wayland compositor, fork of rivertile";
|
||||
@ -44,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
changelog = "https://git.sr.ht/~novakane/rivercarro/refs/v${finalAttrs.version}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ kraem ];
|
||||
inherit (zig_0_11.meta) platforms;
|
||||
inherit (zig_0_12.meta) platforms;
|
||||
mainProgram = "rivercarro";
|
||||
};
|
||||
})
|
||||
|
13
pkgs/applications/misc/rivercarro/deps.nix
generated
Normal file
13
pkgs/applications/misc/rivercarro/deps.nix
generated
Normal file
@ -0,0 +1,13 @@
|
||||
# generated by zon2nix (https://github.com/nix-community/zon2nix)
|
||||
|
||||
{ linkFarm, fetchzip }:
|
||||
|
||||
linkFarm "zig-packages" [
|
||||
{
|
||||
name = "1220b0f8f822c1625af7aae4cb3ab2c4ec1a4c0e99ef32867b2a8d88bb070b3e7f6d";
|
||||
path = fetchzip {
|
||||
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.1.0.tar.gz";
|
||||
hash = "sha256-VLEx8nRgmJZWgLNBRqrR7bZEkW0m5HTRv984HKwoIfA=";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user