3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/ssocr/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
629 B
Nix

{ stdenv, fetchFromGitHub, imlib2, libX11 }:
stdenv.mkDerivation rec {
pname = "ssocr";
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;
license = licenses.gpl3;
maintainers = [ maintainers.kroell ];
};
}