pkgs/servers: replace "${version}" with version
This commit is contained in:
parent
3d001fb2e9
commit
58e4e74986
16 changed files with 18 additions and 20 deletions
|
@ -7,7 +7,7 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "czerwonk";
|
||||
repo = "junos_exporter";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "sha256-XYISwq6xcVKhXUK6j22pQ5eOfuKNH0uXOEK1MUzSq90=";
|
||||
};
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-bsc";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-oCHEWQjHG2JZdoisROukwRbpQq2cNAgC+1yOqsgx+As=";
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-bts";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-RSWXWQn3DAPtThUbthyXrSFSQhHzKaH/m1f6/MCojzM=";
|
||||
};
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-ggsn";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-j7Szh6lDZY9ji9VAdE3D73R/WBPDo85nVB8hr4HzO7M=";
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-hlr";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-lFIYoDaJbVcC0A0TukRO9KDTVx31WqPPz/Z3wACJBp0=";
|
||||
};
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-hnbgw";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-OWCAiU4mK57e5gm6QOovwmoFAaCG1d8ZYpkP4isIqvI=";
|
||||
};
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-hnodeb";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-Izivyw2HqRmrM68ehGqlIkJeuZ986d1WQ0yr6NWWTdA=";
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-iuh";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-AwLLfG+5JgvFSBddzyUQdPDFZOX1uQyDSyr4O/wTlgs=";
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-mgw";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-l7JBAigcqQdb1IIz2iuetK8EKVkevtei7hB98g4a79Y=";
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-msc";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-CVyjSo+QFDLcow6XAcudhQ7LOnbCSHeYVTzTMh7KEwg=";
|
||||
};
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-pcu";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-wZLTDvqVxP0FXV0VQH5KuigwbgzBipwL5JkTDp5Mzrc=";
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-sgsn";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-tjExV8XigPEZ5gOCEoWfjhtGJVa5Ja3GHnpSovradak=";
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "osmo-sip-connector";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-vsPtNeh6Yi5fQb+E90OF4/Hnjl9T5nMf9EMBhzpIA2I=";
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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".
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "agersant";
|
||||
repo = "polaris-web";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "2XqU4sExF7Or7RxpOK2XU9APtBujfPhM/VkOLKVDvF4=";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue