mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
pqiv: 0.12 -> 2.8.3
This commit is contained in:
parent
dd49357a19
commit
237ac13370
@ -1,26 +1,26 @@
|
|||||||
{ stdenv, fetchurl, getopt, which, pkgconfig, gtk2 } :
|
{ stdenv, fetchFromGitHub, getopt, which, pkgconfig, gtk2 } :
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "pqiv-0.12";
|
name = "pqiv-${version}";
|
||||||
|
version = "2.8.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/downloads/phillipberndt/pqiv/${name}.tbz";
|
owner = "phillipberndt";
|
||||||
sha256 = "646c69f2f4e7289913f6b8e8ae984befba9debf0d2b4cc8af9955504a1fccf1e";
|
repo = "pqiv";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0fhmqa1q1y5y0ivrgx9xv864zqvd5dk4fiqi4bgi1ybdfx7vv2fy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ getopt which pkgconfig gtk2 ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ getopt which gtk2 ];
|
||||||
|
|
||||||
preConfigure=''
|
prePatch = "patchShebangs .";
|
||||||
substituteInPlace configure --replace /bin/bash "$shell"
|
|
||||||
sed -i -e 's|$(tempfile -s.*)|temp.c|' -e 's|tempfile|mktemp|' configure
|
|
||||||
'';
|
|
||||||
|
|
||||||
unpackCmd = ''
|
meta = with stdenv.lib; {
|
||||||
tar -xf ${src}
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Rewrite of qiv (quick image viewer)";
|
description = "Rewrite of qiv (quick image viewer)";
|
||||||
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
|
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.ndowens ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user