Merge pull request #311209 from xzfc/katriawm
katriawm: add updateScript
This commit is contained in:
commit
38c465d8ea
@ -1,10 +1,12 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchzip
|
||||
, libX11
|
||||
, libXft
|
||||
, libXrandr
|
||||
, pkg-config
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
libX11,
|
||||
libXft,
|
||||
libXrandr,
|
||||
pkg-config,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -16,9 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
@ -26,11 +26,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libXrandr
|
||||
];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [ "-C" "src" ];
|
||||
makeFlags = [
|
||||
"-C"
|
||||
"src"
|
||||
];
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
@ -39,6 +45,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace pkg-config "$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
url = "https://www.uninformativ.de/git/katriawm.git/";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
|
||||
description = "A non-reparenting, dynamic window manager with decorations";
|
||||
|
Loading…
Reference in New Issue
Block a user