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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
629 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, imlib2, libX11, pkg-config }:
2018-09-24 20:10:51 +02:00
stdenv.mkDerivation rec {
pname = "ssocr";
version = "2.22.1";
2018-09-24 20:10:51 +02:00
src = fetchFromGitHub {
owner = "auerswal";
repo = "ssocr";
rev = "v${version}";
sha256 = "sha256-j1l1o1wtVQo+G9HfXZ1sJQ8amsUQhuYxFguWFQoRe/s=";
2018-09-24 20:10:51 +02:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ imlib2 libX11 ];
2018-09-24 20:10:51 +02:00
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
2018-09-24 20:10:51 +02:00
description = "Seven Segment Optical Character Recognition";
homepage = "https://github.com/auerswal/ssocr";
2018-09-24 20:10:51 +02:00
license = licenses.gpl3;
maintainers = [ maintainers.kroell ];
};
}