mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
22 lines
506 B
Nix
22 lines
506 B
Nix
{ lib, stdenv, fetchurl, cmake, qrencode, qt4, libdmtx }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "prison";
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/prison/${version}/src/prison-${version}.tar.gz";
|
|
sha256 = "08hkzzda36jpdywjqlyzcvli7cx17h4l9yffzsdnhdd788n28krr";
|
|
};
|
|
|
|
buildInputs = [ qt4 qrencode libdmtx ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Qt4 library for QR-codes";
|
|
license = lib.licenses.mit;
|
|
inherit (qt4.meta) platforms;
|
|
};
|
|
}
|