|
|
|
@ -1,12 +1,14 @@ |
|
|
|
|
{ lib, stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }: |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, qt4, cmake, libjpeg, libtiff, boost }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "scantailor"; |
|
|
|
|
version = "0.9.12.1"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://github.com/scantailor/scantailor/archive/RELEASE_${lib.replaceStrings ["."] ["_"] version}.tar.gz"; |
|
|
|
|
sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg"; |
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "scantailor"; |
|
|
|
|
repo = "scantailor"; |
|
|
|
|
rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}"; |
|
|
|
|
sha256 = "sha256-Jn8+X737vwaE0ZPYdQv/1SocmWFA74XL90IW8yNiafA="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ]; |
|
|
|
|