2022-05-12 22:31:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, imlib2, libX11, pkg-config }:
|
2018-09-24 18:10:51 +00:00
|
|
|
|
2022-05-12 22:31:27 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ssocr";
|
2022-05-12 22:31:27 +00:00
|
|
|
version = "2.22.1";
|
2018-09-24 18:10:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "auerswal";
|
|
|
|
repo = "ssocr";
|
2022-05-12 22:31:27 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-j1l1o1wtVQo+G9HfXZ1sJQ8amsUQhuYxFguWFQoRe/s=";
|
2018-09-24 18:10:51 +00:00
|
|
|
};
|
|
|
|
|
2022-05-12 22:31:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ imlib2 libX11 ];
|
2018-09-24 18:10:51 +00:00
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-24 18:10:51 +00:00
|
|
|
description = "Seven Segment Optical Character Recognition";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/auerswal/ssocr";
|
2018-09-24 18:10:51 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.kroell ];
|
|
|
|
};
|
|
|
|
}
|