pkgs/development: replace "${version}" with version
This commit is contained in:
parent
cc4e008534
commit
c5e866c001
19 changed files with 18 additions and 21 deletions
|
@ -10,7 +10,7 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "arduino";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-HaNMkeV/PDEotYp8+rUKFaBxGbZO8qA99Yp2sa6glz8=";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
{ fetchFromGitHub
|
||||
, gcc
|
||||
, lib
|
||||
, libnl
|
||||
, libpcap
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, writeShellScriptBin
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nmrpflash";
|
||||
|
@ -23,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ libnl libpcap ];
|
||||
|
||||
PREFIX = "${placeholder "out"}";
|
||||
STANDALONE_VERSION = "${version}";
|
||||
STANDALONE_VERSION = version;
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "leveldb";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "sha256-RL+dfSFZZzWvUobSqiPbuC4nDiGzjIIukbVJZRacHbI=";
|
||||
};
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
domain = "gitlab.freedesktop.org";
|
||||
owner = "libdecor";
|
||||
repo = "libdecor";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-8b6qCqOSDDbhYwAeAaUyI71tSopTkGtCJaxZaJw1vQQ=";
|
||||
};
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "frankosterfeld";
|
||||
repo = "qtkeychain";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "sha256-LclYOuIYn+jYCvg69uHFlV3VcZ2KWdr8lFyCSBIB7Kw=";
|
||||
};
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "rafa-dot-el";
|
||||
repo = "talib";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "sha256-bIzN8f9ZiOLaVzGAXcZUHUh/v9z1U+zY+MnyjJr1lSw=";
|
||||
};
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ let lispPackages = rec {
|
|||
src = pkgs.fetchFromGitHub {
|
||||
owner = "atlas-engineer";
|
||||
repo = "nyxt";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "12l7ir3q29v06jx0zng5cvlbmap7p709ka3ik6x29lw334qshm9b";
|
||||
};
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ buildDunePackage rec {
|
|||
domain = "gitlab.inria.fr";
|
||||
owner = "fpottier";
|
||||
repo = "fix";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "sha256-suWkZDLnXEO/4QCGmNuyLFOV0LJsFOMD13gxOcgu6JQ=";
|
||||
};
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ buildDunePackage rec {
|
|||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
repo = "json-data-encoding";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-ticulOKiFNQIZNFOQE9UQOw/wqRfygQwLVIc4kkmwg4=";
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ buildDunePackage rec {
|
|||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "1k763bmj1asj9ijar39rh3h1d59rckmsf21h2y8966lgglsf42bd";
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ let param = {
|
|||
};
|
||||
}."${version}"; in
|
||||
|
||||
let v = version; in
|
||||
buildDunePackage rec {
|
||||
pname = "odoc-parser";
|
||||
inherit version;
|
||||
|
|
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "jxwolstenholme";
|
||||
repo = "btsmarthub_devicelist";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M=";
|
||||
};
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||
|
||||
# flatbuffers needs VERSION environment variable for setting the correct
|
||||
# version, otherwise it uses the current date.
|
||||
VERSION = "${version}";
|
||||
VERSION = version;
|
||||
|
||||
pythonImportsCheck = [ "flatbuffers" ];
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "getsenic";
|
||||
repo = "gatt-python";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-GMLqQ9ojQ649hbbJB+KiQoOhiTWweOgv6zaCDzhIB5A=";
|
||||
};
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
datasrc = fetchFromGitHub {
|
||||
owner = "hadiasghari";
|
||||
repo = "pyasn";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
hash = "sha256-R7Vi1Mn44Mg3HQLDk9O43MkXXwbLRr/jjVKSHJvgYj0";
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-qnYFAKLY+L6O/Y87J6lLKvOwqMLANzR9WV6vb/Cdinc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION="${version}";
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptoolsBuildHook
|
||||
|
|
|
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
env = {
|
||||
RUSTFLAGS = "-C strip=symbols";
|
||||
ROME_VERSION = "${version}";
|
||||
ROME_VERSION = version;
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
|
|
|
@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "deadlinks";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "0s5q9aghncsk9834azn5cgnn5ms3zzyjan2rq06kaqcgzhld4cjh";
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "pb-";
|
||||
repo = "gotypist";
|
||||
rev = "${version}";
|
||||
rev = version;
|
||||
sha256 = "0khl2f6bl121slw9mlf4qzsdarpk1v3vry11f3dvz7pb1q6zjj11";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue