pkgs/servers: replace "${version}" with version

This commit is contained in:
figsoda 2023-07-02 14:50:45 -04:00
parent 3d001fb2e9
commit 58e4e74986
16 changed files with 18 additions and 20 deletions

View file

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "czerwonk";
repo = "junos_exporter";
rev = "${version}";
rev = version;
sha256 = "sha256-XYISwq6xcVKhXUK6j22pQ5eOfuKNH0uXOEK1MUzSq90=";
};

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-bsc";
rev = "${version}";
rev = version;
hash = "sha256-oCHEWQjHG2JZdoisROukwRbpQq2cNAgC+1yOqsgx+As=";
};

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-bts";
rev = "${version}";
rev = version;
hash = "sha256-RSWXWQn3DAPtThUbthyXrSFSQhHzKaH/m1f6/MCojzM=";
};

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-ggsn";
rev = "${version}";
rev = version;
hash = "sha256-j7Szh6lDZY9ji9VAdE3D73R/WBPDo85nVB8hr4HzO7M=";
};

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-hlr";
rev = "${version}";
rev = version;
hash = "sha256-lFIYoDaJbVcC0A0TukRO9KDTVx31WqPPz/Z3wACJBp0=";
};

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-hnbgw";
rev = "${version}";
rev = version;
hash = "sha256-OWCAiU4mK57e5gm6QOovwmoFAaCG1d8ZYpkP4isIqvI=";
};

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-hnodeb";
rev = "${version}";
rev = version;
hash = "sha256-Izivyw2HqRmrM68ehGqlIkJeuZ986d1WQ0yr6NWWTdA=";
};

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-iuh";
rev = "${version}";
rev = version;
hash = "sha256-AwLLfG+5JgvFSBddzyUQdPDFZOX1uQyDSyr4O/wTlgs=";
};

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-mgw";
rev = "${version}";
rev = version;
hash = "sha256-l7JBAigcqQdb1IIz2iuetK8EKVkevtei7hB98g4a79Y=";
};

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-msc";
rev = "${version}";
rev = version;
hash = "sha256-CVyjSo+QFDLcow6XAcudhQ7LOnbCSHeYVTzTMh7KEwg=";
};

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-pcu";
rev = "${version}";
rev = version;
hash = "sha256-wZLTDvqVxP0FXV0VQH5KuigwbgzBipwL5JkTDp5Mzrc=";
};

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-sgsn";
rev = "${version}";
rev = version;
hash = "sha256-tjExV8XigPEZ5gOCEoWfjhtGJVa5Ja3GHnpSovradak=";
};

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-sip-connector";
rev = "${version}";
rev = version;
hash = "sha256-vsPtNeh6Yi5fQb+E90OF4/Hnjl9T5nMf9EMBhzpIA2I=";
};

View file

@ -1,7 +1,6 @@
{ lib, beamPackages
, fetchFromGitHub, fetchFromGitLab, fetchHex
, file, cmake
, libxcrypt-legacy
, nixosTests, writeText
, ...
}:
@ -20,7 +19,7 @@ beamPackages.mixRelease rec {
mixNixDeps = import ./mix.nix {
inherit beamPackages lib;
overrides = (final: prev: {
overrides = final: prev: {
# mix2nix does not support git dependencies yet,
# so we need to add them manually
gettext = beamPackages.buildMix rec {
@ -136,7 +135,7 @@ beamPackages.mixRelease rec {
src = fetchHex {
pkg = "${name}";
version = "${version}";
inherit version;
sha256 = "120znzz0yw1994nk6v28zql9plgapqpv51n9g6qm6md1f4x7gj0z";
};
@ -160,7 +159,7 @@ beamPackages.mixRelease rec {
cp ${cfgFile} config/config.exs
'';
};
});
};
};
passthru = {

View file

@ -1,5 +1,4 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, polaris-web
@ -12,7 +11,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "agersant";
repo = "polaris";
rev = "${version}";
rev = version;
sha256 = "sp1KDTzKvcGtuqL37fFnVgcnkIsmj5ZQji72BeyiFQE=";
# The polaris version upstream in Cargo.lock is "0.0.0".

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "agersant";
repo = "polaris-web";
rev = "${version}";
rev = version;
sha256 = "2XqU4sExF7Or7RxpOK2XU9APtBujfPhM/VkOLKVDvF4=";
};