bees: drop version and hash from let

This commit is contained in:
Philipp Riegger 2020-10-12 21:38:09 +02:00
parent 2bfb54582b
commit 104322f04d

View file

@ -2,18 +2,15 @@
let
version = "0.6.3";
sha256 = "sha256-brEjr7lhmKDCIDeLq+XP+ZTxv1RvwoUlszMSEYygxv8=";
bees = stdenv.mkDerivation {
bees = stdenv.mkDerivation rec {
pname = "bees";
inherit version;
version = "0.6.3";
src = fetchFromGitHub {
owner = "Zygo";
repo = "bees";
rev = "v${version}";
inherit sha256;
sha256 = "sha256-brEjr7lhmKDCIDeLq+XP+ZTxv1RvwoUlszMSEYygxv8=";
};
buildInputs = [
@ -58,7 +55,7 @@ let
in
runCommand "bees-service-${version}" {
runCommand "bees-service" {
inherit bash bees coreutils utillinux;
btrfsProgs = btrfs-progs; # needs to be a valid shell variable name
} ''