nixpkgs/pkgs/applications/misc/ssocr/default.nix

25 lines
627 B
Nix
Raw Normal View History

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