2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, imlib2, libX11 }:
|
2018-09-24 20:10:51 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ssocr";
|
2018-09-24 20:10:51 +02:00
|
|
|
version = "unstable-2018-08-11";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "auerswal";
|
|
|
|
repo = "ssocr";
|
|
|
|
rev = "5e47e26b125a1a13bc79de93a5e87dd0b51354ca";
|
|
|
|
sha256 = "0yzprwflky9a7zxa3zic7gvdwqg0zy49zvrqkdxng2k1ng78k3s7";
|
|
|
|
};
|
|
|
|
|
2021-01-01 14:46:40 +01:00
|
|
|
nativeBuildInputs = [ imlib2 libX11 ];
|
2018-09-24 20:10:51 +02:00
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-09-24 20:10:51 +02:00
|
|
|
description = "Seven Segment Optical Character Recognition";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/auerswal/ssocr";
|
2018-09-24 20:10:51 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.kroell ];
|
|
|
|
};
|
|
|
|
}
|