Skip to content

Commit

Permalink
arpa2: pull package sources into package files
Browse files Browse the repository at this point in the history
Co-authored-by: Auguste Baum <[email protected]>
  • Loading branch information
mightyiam and augustebaum committed Oct 23, 2023
1 parent c8a13f4 commit 8e62d1e
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 133 deletions.
99 changes: 9 additions & 90 deletions pkgs/arpa2/overlays/arpa2-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,102 +2,21 @@ inputs: sources: final: prev:
with final.pkgs; rec {
helpers = import ./lib {inherit (final) pkgs stdenv lib;};

steamworks = callPackage ./pkgs/steamworks rec {
src = fetchFromGitLab {
owner = "arpa2";
repo = "steamworks";
rev = "v${version}";
hash = "sha256-hD1nTyv/t7MQdopqivfSE0o4Qk1ymG8zQVg56lY+t9o=";
};
pname = "steamworks";
version = "0.97.2";
};
steamworks = callPackage ./pkgs/steamworks {};

steamworks-pulleyback = callPackage ./pkgs/steamworks-pulleyback rec {
src = fetchFromGitLab {
owner = "arpa2";
repo = "steamworks-pulleyback";
rev = "v${version}";
hash = "sha256-MtZDwWLcKVrNlNqhsT9tnT6qEpt2rR5S37UhHS232XI=";
};
pname = "steamworks-pulleyback";
version = "0.3.0";
};
steamworks-pulleyback = callPackage ./pkgs/steamworks-pulleyback {};

lillydap = callPackage ./pkgs/lillydap rec {
src = fetchFromGitLab {
owner = "arpa2";
repo = "lillydap";
rev = "v${version}";
hash = "sha256-L2zmitXezGzDZXLDxohU3DTuHE18KUZEMg98ui2AF+c=";
};
pname = "lillydap";
version = "0.9.2";
};
lillydap = callPackage ./pkgs/lillydap {};

leaf = callPackage ./pkgs/leaf {
src = fetchFromGitLab {
owner = "arpa2";
repo = "leaf";
rev = "b3861efce0ba143f6eb5451aac5be24f18e6d8ab";
hash = "sha256-woEzlXyulVSpeJJQU0SsfC3U90cv3b9zzVh/w5iouJY=";
};
pname = "leaf";
version = "unstable-2020-04-28";
};
leaf = callPackage ./pkgs/leaf {};

quicksasl = callPackage ./pkgs/quicksasl rec {
src = fetchFromGitLab {
owner = "arpa2";
repo = "quick-sasl";
rev = "v${version}";
hash = "sha256-z9kgKssuXq8qae9dTLP5REzkp1C4/jnJr7ydOavPWKM=";
};
pname = "quicksasl";
version = "0.11.0";
};
quicksasl = callPackage ./pkgs/quicksasl {};

tlspool = callPackage ./pkgs/tlspool rec {
src = fetchFromGitLab {
owner = "arpa2";
repo = "tlspool";
rev = "v${version}";
hash = "sha256-cscA7204nONYyuthDoVOlVwN1AW2EtvSamXpqjAAaqY=";
};
pname = "tlspool";
version = "0.9.6";
};
tlspool = callPackage ./pkgs/tlspool {};

tlspool-gui = libsForQt5.callPackage ./pkgs/tlspool-gui rec {
src = fetchFromGitLab {
owner = "arpa2";
repo = "tlspool-gui";
rev = "v${version}";
hash = "sha256-87AY5GxIeDvsc9jrjam1aAYK+RQwhEgt+GO4TE4d6Js=";
};
pname = "tlspool-gui";
version = "0.0.6";
};
tlspool-gui = libsForQt5.callPackage ./pkgs/tlspool-gui {};

kip = callPackage ./pkgs/kip {
src = fetchFromGitLab {
owner = "arpa2";
repo = "kip";
rev = "7683e76368cfd432c740907f4d27592b1364b732";
hash = "sha256-SImz4ZzUXRmk4ZPbVjtUuRPqla8AiiVGa4HdSKVVI6g=";
};
pname = "kip";
version = "unstable-2021-07-27";
};
kip = callPackage ./pkgs/kip {};

freeDiameter = callPackage ./pkgs/freeDiameter rec {
src = fetchFromGitLab {
owner = "freeDiameter";
repo = "freeDiameter";
rev = "v${version}";
hash = "sha256-hd71wR4b/pnAUcd2U4/InmubCAqkKUZeZTBrGTV3FSY=";
};
pname = "freeDiameter";
version = "1.5.0";
};
freeDiameter = callPackage ./pkgs/freeDiameter {};
}
16 changes: 11 additions & 5 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/freeDiameter/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
src,
pname,
version,
stdenv,
cmake,
pkg-config,
Expand All @@ -11,9 +8,18 @@
libidn,
libgcrypt,
gnutls,
fetchFromGitLab,
}:
stdenv.mkDerivation {
inherit src pname version;
stdenv.mkDerivation rec {
pname = "freeDiameter";
version = "1.5.0";

src = fetchFromGitLab {
owner = "freeDiameter";
repo = "freeDiameter";
rev = "v${version}";
hash = "sha256-hd71wR4b/pnAUcd2U4/InmubCAqkKUZeZTBrGTV3FSY=";
};

nativeBuildInputs = [cmake pkg-config flex bison lksctp-tools libidn libgcrypt gnutls];

Expand Down
14 changes: 10 additions & 4 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/kip/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
src,
pname,
version,
stdenv,
cmake,
pkg-config,
Expand All @@ -24,6 +21,7 @@
libressl,
cacert,
gnutls,
fetchFromGitLab,
}: let
python-with-packages =
python3.withPackages
Expand All @@ -43,7 +41,15 @@
});
in
stdenv.mkDerivation {
inherit src pname version;
pname = "kip";
version = "unstable-2021-07-27";

src = fetchFromGitLab {
owner = "arpa2";
repo = "kip";
rev = "7683e76368cfd432c740907f4d27592b1364b732";
hash = "sha256-SImz4ZzUXRmk4ZPbVjtUuRPqla8AiiVGa4HdSKVVI6g=";
};

nativeBuildInputs = [cmake pkg-config cacert openssl libressl gnutls];

Expand Down
14 changes: 10 additions & 4 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/leaf/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
{
src,
pname,
version,
stdenv,
helpers,
quickder,
lillydap,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
pname = "leaf";
version = "unstable-2020-04-28";

src = fetchFromGitLab {
owner = "arpa2";
repo = "leaf";
rev = "b3861efce0ba143f6eb5451aac5be24f18e6d8ab";
hash = "sha256-woEzlXyulVSpeJJQU0SsfC3U90cv3b9zzVh/w5iouJY=";
};

nativeBuildInputs = [quickder lillydap];
}
16 changes: 11 additions & 5 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/lillydap/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
{
src,
pname,
version,
stdenv,
helpers,
quickder,
gperf,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
helpers.mkArpa2Derivation rec {
pname = "lillydap";
version = "0.9.2";

src = fetchFromGitLab {
owner = "arpa2";
repo = "lillydap";
rev = "v${version}";
hash = "sha256-L2zmitXezGzDZXLDxohU3DTuHE18KUZEMg98ui2AF+c=";
};

nativeBuildInputs = [quickder gperf];
}
16 changes: 11 additions & 5 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/quicksasl/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
src,
pname,
version,
pkg-config,
stdenv,
helpers,
Expand All @@ -11,9 +8,18 @@
libkrb5,
libev,
e2fsprogs,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
helpers.mkArpa2Derivation rec {
pname = "quicksasl";
version = "0.11.0";

src = fetchFromGitLab {
owner = "arpa2";
repo = "quick-sasl";
rev = "v${version}";
hash = "sha256-z9kgKssuXq8qae9dTLP5REzkp1C4/jnJr7ydOavPWKM=";
};

nativeBuildInputs = [libkrb5 quickmem cyrus_sasl quickder libev e2fsprogs pkg-config];
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
src,
pname,
version,
stdenv,
helpers,
steamworks,
Expand All @@ -11,9 +8,18 @@
libressl,
lmdb,
libuuid,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
helpers.mkArpa2Derivation rec {
pname = "steamworks-pulleyback";
version = "0.3.0";

src = fetchFromGitLab {
owner = "arpa2";
repo = "steamworks-pulleyback";
rev = "v${version}";
hash = "sha256-MtZDwWLcKVrNlNqhsT9tnT6qEpt2rR5S37UhHS232XI=";
};

buildInputs = [steamworks lua doxygen graphviz libuuid];

Expand Down
16 changes: 11 additions & 5 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/steamworks/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
src,
pname,
version,
stdenv,
lib,
helpers,
Expand All @@ -11,9 +8,18 @@
sqlite,
catch2,
log4cpp,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
helpers.mkArpa2Derivation rec {
pname = "steamworks";
version = "0.97.2";

src = fetchFromGitLab {
owner = "arpa2";
repo = "steamworks";
rev = "v${version}";
hash = "sha256-hD1nTyv/t7MQdopqivfSE0o4Qk1ymG8zQVg56lY+t9o=";
};

buildInputs = [
openldap
Expand Down
16 changes: 11 additions & 5 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/tlspool-gui/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
src,
pname,
version,
stdenv,
lib,
helpers,
tlspool,
qtbase,
wrapQtAppsHook,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
helpers.mkArpa2Derivation rec {
pname = "tlspool-gui";
version = "0.0.6";

src = fetchFromGitLab {
owner = "arpa2";
repo = "tlspool-gui";
rev = "v${version}";
hash = "sha256-87AY5GxIeDvsc9jrjam1aAYK+RQwhEgt+GO4TE4d6Js=";
};

nativeBuildInputs = [tlspool wrapQtAppsHook];
buildInputs = [qtbase];
Expand Down
16 changes: 11 additions & 5 deletions pkgs/arpa2/overlays/arpa2-packages/pkgs/tlspool/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
src,
pname,
version,
stdenv,
helpers,
pkg-config,
Expand All @@ -14,9 +11,18 @@
unbound,
libkrb5,
openldap,
fetchFromGitLab,
}:
helpers.mkArpa2Derivation {
inherit src pname version;
helpers.mkArpa2Derivation rec {
pname = "tlspool";
version = "0.9.6";

src = fetchFromGitLab {
owner = "arpa2";
repo = "tlspool";
rev = "v${version}";
hash = "sha256-cscA7204nONYyuthDoVOlVwN1AW2EtvSamXpqjAAaqY=";
};

nativeBuildInputs = [quickder gnutls db ldns libtasn1 p11-kit unbound libkrb5 openldap pkg-config];
}

0 comments on commit 8e62d1e

Please sign in to comment.