mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
scantailor: switch to fetchFromGitHub
This commit is contained in:
parent
10117b2aaa
commit
cd897b859b
1 changed files with 6 additions and 4 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue