[rs-commit] r180 - /rs-distribution/trunk/nixos/pkgs/servers/http/apache-modules/mod_ca/default.nix

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Dec 12 09:16:21 CET 2019


Author: dirkx at redwax.eu
Date: Thu Dec 12 09:16:20 2019
New Revision: 180

Log:
Sync chechsum with release.

Modified:
    rs-distribution/trunk/nixos/pkgs/servers/http/apache-modules/mod_ca/default.nix

Modified: rs-distribution/trunk/nixos/pkgs/servers/http/apache-modules/mod_ca/default.nix
==============================================================================
--- rs-distribution/trunk/nixos/pkgs/servers/http/apache-modules/mod_ca/default.nix	(original)
+++ rs-distribution/trunk/nixos/pkgs/servers/http/apache-modules/mod_ca/default.nix	Thu Dec 12 09:16:20 2019
@@ -1,19 +1,30 @@
-{ stdenv, fetchsvn, gnused, coreutils, pkgconfig, apacheHttpd, openssl, openldap }:
+{ stdenv, fetchurl, gnused, coreutils, pkgconfig, apacheHttpd, openssl, openldap }:
 
 stdenv.mkDerivation rec {
  name = "mod_ca";
 
  meta = with stdenv.lib; {
-    homepage = "https://redwax.eu";
-    description = "RedWax CA service modules.";
-    license = licenses.asl20;
-    # platforms = [ platforms.linux platforms.darwin ];
-    maintainers = with maintainers; [ dirkx ];
+   baseurl = "https://redwax.eu/dist/rs/";
+   suffix = ".tar.gz";
+
+   description = "RedWax CA service modules.";
+   homepage = "https://redwax.eu";
+
+   license = licenses.asl20;
+
+   maintainers = with maintainers; [ dirkx ];
+
+   version = "0.2.1";
+
+   # This propably should be a wildcard - as we build on all
+   # current NixOS platforms.
+   # platforms = [ platforms.linux platforms.darwin ]; 
+
  };
 
- src = fetchsvn {
-   url = "https://source.redwax.eu/svn/redwax/rs/mod_ca/trunk";
-   sha256 = "0llyx7wwdmw2pychg5396whzvfdvrk6q3kd25sw0fciwbw0hrr99";
+ src = fetchurl {
+   url = "${meta.baseurl}${name}-${meta.version}${meta.suffix}";
+   sha256 = "1pxapjrzdsk2s25vhgvf56fkakdqcbn9hjncwmqh0asl1pa25iic";
  };
 
  buildInputs = [ gnused coreutils pkgconfig apacheHttpd openssl openldap ];



More information about the rs-commit mailing list