nixpkgs/pkgs/tools/security/stoken/default.nix

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

45 lines
741 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libxml2
, nettle
, withGTK3 ? true
, gtk3
}:
2015-08-13 12:03:08 +00:00
stdenv.mkDerivation rec {
pname = "stoken";
version = "0.93";
2015-08-13 12:03:08 +00:00
src = fetchFromGitHub {
owner = "cernekee";
repo = "stoken";
2018-05-28 12:59:57 +00:00
rev = "v${version}";
hash = "sha256-8N7TXdBu37eXWIKCBdaXVW0pvN094oRWrdlcy9raddI=";
2015-08-13 12:03:08 +00:00
};
2021-12-16 02:53:32 +00:00
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
];
2015-08-13 12:03:08 +00:00
buildInputs = [
libxml2
nettle
] ++ lib.optionals withGTK3 [
gtk3
];
2015-08-13 12:03:08 +00:00
meta = with lib; {
2015-08-13 12:03:08 +00:00
description = "Software Token for Linux/UNIX";
homepage = "https://github.com/cernekee/stoken";
license = licenses.lgpl21Plus;
maintainers = [ ];
platforms = platforms.all;
2015-08-13 12:03:08 +00:00
};
}