mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
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}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "par";
|
||||
version = "1.52";
|
||||
version = "1.53.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.nicemice.net/par/Par152.tar.gz";
|
||||
sha256 = "33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082";
|
||||
url = "http://www.nicemice.net/par/Par-${version}.tar.gz";
|
||||
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";
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(CC="${stdenv.cc.targetPrefix}cc -c" LINK1=${stdenv.cc.targetPrefix}cc)
|
||||
|
Loading…
Reference in New Issue
Block a user