ferm: 2.4.1 -> 2.5

This commit is contained in:
tilpner 2019-12-02 18:04:37 +01:00
parent 8b1772c2f4
commit 0cf301d95f
No known key found for this signature in database
GPG key ID: E9192E216175A76D

View file

@ -1,12 +1,14 @@
{ stdenv, fetchurl, makeWrapper, perl, ebtables, ipset, iptables, nixosTests }:
stdenv.mkDerivation rec {
version = "2.4.1";
let
inherit (stdenv.lib.versions) majorMinor;
in stdenv.mkDerivation rec {
version = "2.5";
pname = "ferm";
src = fetchurl {
url = "http://ferm.foo-projects.org/download/2.4/ferm-${version}.tar.xz";
sha256 = "1fv8wk513yysp4q0i65rl2m0hg2lxwwgk9ppprsca1xcxrdpsvwa";
url = "http://ferm.foo-projects.org/download/${majorMinor version}/ferm-${version}.tar.xz";
sha256 = "0lxqcpirphihpvdqrh5kq0621aqq0h2vdy9q2v85gqdhd52js20p";
};
buildInputs = [ perl ipset ebtables iptables makeWrapper ];