crossfire: fix version parsing for nix-env

This commit is contained in:
Sandro Jäckel 2022-04-30 02:29:15 +02:00 committed by Sandro Jäckel
parent 9b310a73db
commit b1950abfc1
No known key found for this signature in database
GPG Key ID: B1763F8651144063
5 changed files with 16 additions and 16 deletions

View File

@ -3,12 +3,12 @@
stdenv.mkDerivation rec {
pname = "crossfire-arch";
version = "r${toString rev}";
version = rev;
src = fetchsvn {
url = "http://svn.code.sf.net/p/crossfire/code/arch/trunk/";
sha256 = sha256;
rev = rev;
inherit sha256;
rev = "r${rev}";
};
installPhase = ''

View File

@ -7,12 +7,12 @@
stdenv.mkDerivation rec {
pname = "crossfire-client";
version = "r${toString rev}";
version = rev;
src = fetchsvn {
url = "http://svn.code.sf.net/p/crossfire/code/client/trunk/";
sha256 = sha256;
rev = rev;
inherit sha256;
rev = "r${rev}";
};
nativeBuildInputs = [ cmake pkg-config perl vala ];

View File

@ -3,12 +3,12 @@
stdenv.mkDerivation rec {
pname = "crossfire-maps";
version = "r${toString rev}";
version = rev;
src = fetchsvn {
url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/";
sha256 = sha256;
rev = rev;
inherit sha256;
rev = "r${rev}";
};
installPhase = ''

View File

@ -4,12 +4,12 @@
stdenv.mkDerivation rec {
pname = "crossfire-server";
version = "r${toString rev}";
version = rev;
src = fetchsvn {
url = "http://svn.code.sf.net/p/crossfire/code/server/trunk/";
sha256 = sha256;
rev = rev;
inherit sha256;
rev = "r${rev}";
};
nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python3 ];

View File

@ -3,26 +3,26 @@
rec {
crossfire-client = callPackage ./crossfire-client.nix {
version = "1.75.0";
rev = 21760;
rev = "21760";
sha256 = "0b42sak8hj60nywfswkps777asy9p8r9wsn7pmj2nqbd29ng1p9d";
};
crossfire-server = callPackage ./crossfire-server.nix {
version = "latest";
rev = 22111;
rev = "22111";
sha256 = "04fjif6zv642n2zlw27cgzkak2kknwrxqzg42bvzl7q901bsr9l7";
maps = crossfire-maps; arch = crossfire-arch;
};
crossfire-arch = callPackage ./crossfire-arch.nix {
version = "latest";
rev = 22111;
rev = "22111";
sha256 = "0l4rp3idvbhknpxxs0w4i4nqfg01wblzm4v4j375xwxxbf00j0ms";
};
crossfire-maps = callPackage ./crossfire-maps.nix {
version = "latest";
rev = 22111;
rev = "22111";
sha256 = "1dwfc84acjvbjgjakkb8z8pdlksbsn90j0z8z8rq37lqx0kx1sap";
};
}