2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, qrencode, qt4, libdmtx }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-03-05 16:20:37 +00:00
|
|
|
pname = "prison";
|
|
|
|
version = "1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-05 16:20:37 +00:00
|
|
|
url = "mirror://kde/stable/prison/${version}/src/prison-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "08hkzzda36jpdywjqlyzcvli7cx17h4l9yffzsdnhdd788n28krr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qt4 qrencode libdmtx ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Qt4 library for QR-codes";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|