nixpkgs/pkgs/development/libraries/prison/default.nix

23 lines
496 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, qrencode, qt4, libdmtx }:
let v = "1.0"; in
stdenv.mkDerivation rec {
name = "prison-${v}";
src = fetchurl {
url = "mirror://kde/stable/prison/${v}/src/${name}.tar.gz";
sha256 = "08hkzzda36jpdywjqlyzcvli7cx17h4l9yffzsdnhdd788n28krr";
};
buildInputs = [ qt4 qrencode libdmtx ];
nativeBuildInputs = [ cmake ];
meta = {
description = "Qt4 library for QR-codes";
2018-10-25 20:28:10 +00:00
license = stdenv.lib.licenses.mit;
inherit (qt4.meta) platforms;
};
}