par: 1.52 -> 1.53.0
Change-Id: I7d5b110ea0fa627953c29015ae8cd71978e8b524
This commit is contained in:
parent
0d2eab489a
commit
6c30280f3b
|
@ -1,23 +1,14 @@
|
||||||
{lib, stdenv, fetchurl, fetchpatch}:
|
{lib, stdenv, fetchurl, fetchpatch}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "par";
|
pname = "par";
|
||||||
version = "1.52";
|
version = "1.53.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.nicemice.net/par/Par152.tar.gz";
|
url = "http://www.nicemice.net/par/Par-${version}.tar.gz";
|
||||||
sha256 = "33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082";
|
sha256 = "sha256-yAnGIOuCtYlVOsVLmJjI2lUZbSYjOdE8BG8r5ErEeAQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# A patch by Jérôme Pouiller that adds support for multibyte
|
|
||||||
# charsets (like UTF-8), plus Debian packaging.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "http://sysmic.org/dl/par/par-1.52-i18n.4.patch";
|
|
||||||
sha256 = "0alw44lf511jmr38jnh4j0mpp7vclgy0grkxzqf7q158vzdb6g23";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
makefile = "protoMakefile";
|
makefile = "protoMakefile";
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray+=(CC="${stdenv.cc.targetPrefix}cc -c" LINK1=${stdenv.cc.targetPrefix}cc)
|
makeFlagsArray+=(CC="${stdenv.cc.targetPrefix}cc -c" LINK1=${stdenv.cc.targetPrefix}cc)
|
||||||
|
|
Loading…
Reference in a new issue