My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/misc/ssocr/default.nix

25 lines
629 B

{ 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 ];
};
}