Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
779 B
Nix
47 lines
779 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libxml2,
|
|
nettle,
|
|
withGTK3 ? !stdenv.hostPlatform.isStatic,
|
|
gtk3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "stoken";
|
|
version = "0.93";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cernekee";
|
|
repo = "stoken";
|
|
rev = "v${version}";
|
|
hash = "sha256-8N7TXdBu37eXWIKCBdaXVW0pvN094oRWrdlcy9raddI=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libxml2
|
|
nettle
|
|
]
|
|
++ lib.optionals withGTK3 [
|
|
gtk3
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Software Token for Linux/UNIX";
|
|
homepage = "https://github.com/cernekee/stoken";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|