depot/third_party/nixpkgs/pkgs/development/libraries/prison/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
494 B
Nix

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