nixpkgs/pkgs/tools/misc/urn-timer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
933 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv
2021-01-10 14:30:09 +00:00
, fetchFromGitHub
, unstableGitUpdater
, xxd
, pkg-config
, imagemagick
, wrapGAppsHook
, gtk3
, jansson
}:
stdenv.mkDerivation {
pname = "urn-timer";
version = "unstable-2023-07-31";
2021-01-10 14:30:09 +00:00
src = fetchFromGitHub {
owner = "paoloose";
2021-01-10 14:30:09 +00:00
repo = "urn";
rev = "2dad51949aa21e0e66a3d34e916fb66689c6be2e";
hash = "sha256-0pZjgKW4kyBgMGKEa8ZMhKtzbJX2MoXKID++iy16m2A=";
2021-01-10 14:30:09 +00:00
};
nativeBuildInputs = [
xxd
pkg-config
imagemagick
wrapGAppsHook
];
buildInputs = [
gtk3
jansson
];
makeFlags = [ "PREFIX=$(out)" ];
passthru.updateScript = unstableGitUpdater {
url = "https://github.com/paoloose/urn.git";
2021-01-10 14:30:09 +00:00
};
2021-01-15 09:19:50 +00:00
meta = with lib; {
homepage = "https://github.com/paoloose/urn";
2021-01-10 14:30:09 +00:00
description = "Split tracker / timer for speedrunning with GTK+ frontend";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fgaz ];
mainProgram = "urn-gtk";
2021-01-10 14:30:09 +00:00
};
}