Merge pull request #8829 from ts468/upstream.tpmmanager
tpmmanager: init at 0.8.1
This commit is contained in:
commit
723eaf845d
43
pkgs/applications/misc/tpmmanager/default.nix
Normal file
43
pkgs/applications/misc/tpmmanager/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ stdenv, fetchgit, qt4, trousers }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "0.8.1";
|
||||||
|
name = "tpmmanager-${version}";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/Sirrix-AG/TPMManager";
|
||||||
|
rev = "9f989206635a6d2c1342576c90fa73eb239519cd";
|
||||||
|
sha256 = "24a606f88fed67ed0d0e61dc220295e9e1ab8db3ef3d028fa34b04ff30652d8e";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ qt4 trousers ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
qmake -makefile PREFIX=\$out
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -Dpm755 -D bin/tpmmanager $out/bin/tpmmanager
|
||||||
|
|
||||||
|
mkdir -p $out/share/applications
|
||||||
|
cat > $out/share/applications/tpmmanager.desktop <<EOF
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=tpmmanager
|
||||||
|
Comment=TPM manager
|
||||||
|
Exec=$out/bin/tpmmanager
|
||||||
|
Terminal=false
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://projects.sirrix.com/trac/tpmmanager;
|
||||||
|
description = "Tool for managing the TPM";
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
inherit version;
|
||||||
|
};
|
||||||
|
}
|
@ -3116,6 +3116,8 @@ let
|
|||||||
|
|
||||||
torsocks = callPackage ../tools/security/tor/torsocks.nix { };
|
torsocks = callPackage ../tools/security/tor/torsocks.nix { };
|
||||||
|
|
||||||
|
tpmmanager = callPackage ../applications/misc/tpmmanager { };
|
||||||
|
|
||||||
tpm-quote-tools = callPackage ../tools/security/tpm-quote-tools { };
|
tpm-quote-tools = callPackage ../tools/security/tpm-quote-tools { };
|
||||||
|
|
||||||
tpm-tools = callPackage ../tools/security/tpm-tools { };
|
tpm-tools = callPackage ../tools/security/tpm-tools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user