Merge pull request #283388 from pyrotelekinetic/update-sway-contrib
sway-contrib: unstable-2023-06-30 -> 0-unstable-2024-01-20
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv
|
||||
{ lib, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, coreutils
|
||||
, makeWrapper
|
||||
@@ -15,12 +15,12 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "unstable-2023-06-30";
|
||||
version = "0-unstable-2024-01-20";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OctopusET";
|
||||
repo = "sway-contrib";
|
||||
rev = "7e138bfc112872b79ac9fd766bc57c0f125b96d4";
|
||||
hash = "sha256-u4sw1NeAhl4FJCG2YOeY45SHoN7tw6cSJwEL5iqr0uQ=";
|
||||
rev = "b7825b218e677c65f6849be061b93bd5654991bf";
|
||||
hash = "sha256-ZTfItJ77mrNSzXFVcj7OV/6zYBElBj+1LcLLHxBFypk=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
@@ -31,7 +31,7 @@ let
|
||||
in
|
||||
{
|
||||
|
||||
grimshot = stdenv.mkDerivation rec {
|
||||
grimshot = stdenvNoCC.mkDerivation {
|
||||
inherit version src;
|
||||
|
||||
pname = "grimshot";
|
||||
@@ -70,7 +70,7 @@ grimshot = stdenv.mkDerivation rec {
|
||||
fi
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with lib; meta // {
|
||||
description = "A helper for screenshots within sway";
|
||||
maintainers = with maintainers; [ evils ];
|
||||
mainProgram = "grimshot";
|
||||
@@ -78,11 +78,12 @@ grimshot = stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
|
||||
inactive-windows-transparency = python3Packages.buildPythonApplication rec {
|
||||
inherit version src;
|
||||
|
||||
inactive-windows-transparency = let
|
||||
# long name is long
|
||||
lname = "inactive-windows-transparency";
|
||||
in python3Packages.buildPythonApplication {
|
||||
inherit version src;
|
||||
|
||||
pname = "sway-${lname}";
|
||||
|
||||
format = "other";
|
||||
@@ -95,7 +96,7 @@ inactive-windows-transparency = python3Packages.buildPythonApplication rec {
|
||||
install -Dm 0755 $src/${lname}.py $out/bin/${lname}.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with lib; meta // {
|
||||
description = "It makes inactive sway windows transparent";
|
||||
mainProgram = "${lname}.py";
|
||||
maintainers = with maintainers; [
|
||||
|
||||
Reference in New Issue
Block a user