1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/qtkeychain/default.nix
aszlig 281a95b454
qtkeychain: Add new package, version 0.4.0.
Required as a dependency of the Tomahawk music player.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-11-17 01:21:09 +01:00

24 lines
610 B
Nix

{ stdenv, fetchFromGitHub, cmake, qt4 }:
stdenv.mkDerivation rec {
name = "qtkeychain-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "frankosterfeld";
repo = "qtkeychain";
rev = "v${version}";
sha256 = "10msaylisbwmgpwd59vr4dfgml75kji8mlfwnwq8yp29jikj5amq";
};
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=$out/share/qt/translations" ];
buildInputs = [ cmake qt4 ];
meta = {
description = "Platform-independent Qt API for storing passwords securely";
homepage = "https://github.com/frankosterfeld/qtkeychain";
license = stdenv.lib.licenses.BSD3;
};
}