Merge pull request #41713 from Ma27/i3lock-pixeled/move-to-gitlab
i3lock-pixeled: github -> gitlab
This commit is contained in:
commit
2e7064c8fa
@ -1,15 +1,17 @@
|
|||||||
{ stdenv, pkgs, fetchurl }:
|
{ stdenv, i3lock, imagemagick, scrot, playerctl, fetchFromGitLab }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "i3lock-pixeled-${version}";
|
name = "i3lock-pixeled-${version}";
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitLab {
|
||||||
url = "https://github.com/Ma27/i3lock-pixeled/archive/${version}.tar.gz";
|
owner = "Ma27";
|
||||||
sha256 = "0vlynm833fk1mmdnkcgh4hwqmfypn22zskhysm110k39zvikif0h";
|
repo = "i3lock-pixeled";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0pysx9sv4i3nnjvpqkrxkxaqja2a2dw5f2r1bzjcgg3c3c5qv74b";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pkgs; [
|
propagatedBuildInputs = [
|
||||||
i3lock
|
i3lock
|
||||||
imagemagick
|
imagemagick
|
||||||
scrot
|
scrot
|
||||||
@ -22,15 +24,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace i3lock-pixeled \
|
substituteInPlace i3lock-pixeled \
|
||||||
--replace i3lock "${pkgs.i3lock}/bin/i3lock" \
|
--replace i3lock "${i3lock}/bin/i3lock" \
|
||||||
--replace convert "${pkgs.imagemagick}/bin/convert" \
|
--replace convert "${imagemagick}/bin/convert" \
|
||||||
--replace scrot "${pkgs.scrot}/bin/scrot" \
|
--replace scrot "${scrot}/bin/scrot" \
|
||||||
--replace playerctl "${pkgs.playerctl}/bin/playerctl"
|
--replace playerctl "${playerctl}/bin/playerctl"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple i3lock helper which pixels a screenshot by scaling it down and up to get a pixeled version of the screen when the lock is active.";
|
description = "Simple i3lock helper which pixels a screenshot by scaling it down and up to get a pixeled version of the screen when the lock is active.";
|
||||||
homepage = https://github.com/Ma27/i3lock-pixeled;
|
homepage = https://gitlab.com/Ma27/i3lock-pixeled;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ ma27 ];
|
maintainers = with maintainers; [ ma27 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user