mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
59ee75c607
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
26 lines
629 B
Nix
26 lines
629 B
Nix
{ lib, stdenv, fetchFromGitHub, imlib2, libX11, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ssocr";
|
|
version = "2.22.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "auerswal";
|
|
repo = "ssocr";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-j1l1o1wtVQo+G9HfXZ1sJQ8amsUQhuYxFguWFQoRe/s=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ imlib2 libX11 ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Seven Segment Optical Character Recognition";
|
|
homepage = "https://github.com/auerswal/ssocr";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.kroell ];
|
|
};
|
|
}
|