windowmaker.dockapps.cputnik: init
This commit is contained in:
parent
e2c364f24b
commit
d6340f4857
2 changed files with 48 additions and 0 deletions
46
pkgs/by-name/wi/windowmaker/dockapps/cputnik.nix
Normal file
46
pkgs/by-name/wi/windowmaker/dockapps/cputnik.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, dockapps-sources
|
||||
, libX11
|
||||
, libXext
|
||||
, libXpm
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cputnik";
|
||||
|
||||
inherit (dockapps-sources) version src;
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/cputnik/src";
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXpm
|
||||
libXext
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(
|
||||
INCS="-I${libX11.dev}/include -I${libXext.dev}/include -I${libXpm.dev}/include"
|
||||
LIBS="-L${libX11}/lib -L${libXext}/lib -L${libXpm}/lib -lX11 -lXpm -lXext"
|
||||
)
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 -t $out/bin/ cputnik
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A Calendar clock with antialiased text";
|
||||
homepage = "https://www.dockapps.net/wmcalclock";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
|
@ -15,6 +15,8 @@ lib.makeScope pkgs.newScope (self: {
|
|||
|
||||
AlsaMixer-app = self.callPackage ./AlsaMixer-app.nix { };
|
||||
|
||||
cputnik = self.callPackage ./cputnik.nix { };
|
||||
|
||||
libdockapp = self.callPackage ./libdockapp.nix { };
|
||||
|
||||
wmCalClock = self.callPackage ./wmCalClock.nix { };
|
||||
|
|
Loading…
Reference in a new issue