xzoom: fix version
This commit is contained in:
parent
cfe3c89300
commit
49945b95d0
|
@ -1,19 +1,21 @@
|
||||||
{ stdenv, fetchurl, libX11, libXext, libXt, imake, gccmakedep}:
|
{ stdenv, fetchurl, libX11, libXext, libXt, imake, gccmakedep}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}.${patchlevel}";
|
name = "${pname}-${version}";
|
||||||
pname = "xzoom";
|
pname = "xzoom";
|
||||||
version = "0.3";
|
major = "0";
|
||||||
patchlevel = "24";
|
minor = "3";
|
||||||
|
patch = "24";
|
||||||
|
version = "${major}.${minor}.${patch}";
|
||||||
|
|
||||||
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.ibiblio.org/pub/linux/libs/X/${pname}-${version}.tgz";
|
url = "http://www.ibiblio.org/pub/linux/libs/X/${pname}-${major}.${minor}.tgz";
|
||||||
sha256 = "0jzl5py4ny4n4i58lxx2hdwq9zphqf7h3m14spl3079y5mlzssxj";
|
sha256 = "0jzl5py4ny4n4i58lxx2hdwq9zphqf7h3m14spl3079y5mlzssxj";
|
||||||
};
|
};
|
||||||
patches = [
|
patches = [
|
||||||
(fetchurl {
|
(fetchurl {
|
||||||
url = "http://http.debian.net/debian/pool/main/x/xzoom/xzoom_${version}-${patchlevel}.diff.gz";
|
url = "http://http.debian.net/debian/pool/main/x/xzoom/xzoom_${major}.${minor}-${patch}.diff.gz";
|
||||||
sha256 = "0zhc06whbvaz987bzzzi2bz6h9jp6rv812qs7b71drivvd820qbh";
|
sha256 = "0zhc06whbvaz987bzzzi2bz6h9jp6rv812qs7b71drivvd820qbh";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue