depot/third_party/nixpkgs/pkgs/development/libraries/prison/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
496 B
Nix

{ 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";
license = stdenv.lib.licenses.mit;
inherit (qt4.meta) platforms;
};
}