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 18:10:51 +00:00
stdenv.mkDerivation rec {
pname = "ssocr";
2023-05-23 03:43:15 +00:00
version = "2.23.1";
2018-09-24 18:10:51 +00:00
src = fetchFromGitHub {
owner = "auerswal";
repo = "ssocr";
rev = "v${version}";
2023-05-23 03:43:15 +00:00
sha256 = "sha256-EfZsTrZI6vKM7tB6mKNGEkdfkNFbN5p4TmymOJGZRBk=";
2018-09-24 18:10:51 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ imlib2 libX11 ];
2018-09-24 18:10:51 +00:00
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
2018-09-24 18:10:51 +00:00
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 ];
};
}