bees: drop version and hash from let
commit104322f04d311eaed6ee69c2a022abc4a18a4db1
authorPhilipp Riegger <philipp@riegger.name>
dateMon 12 Oct 2020, 21:38 (6 years ago)
parent2bfb545
pkgs/tools/filesystems/bees/default.nix+4−7
@@ -2,18 +2,15 @@
22
33let
44
5− version = "0.6.3";
6− sha256 = "sha256-brEjr7lhmKDCIDeLq+XP+ZTxv1RvwoUlszMSEYygxv8=";
7−
8− bees = stdenv.mkDerivation {
5+ bees = stdenv.mkDerivation rec {
96 pname = "bees";
10− inherit version;
7+ version = "0.6.3";
118
129 src = fetchFromGitHub {
1310 owner = "Zygo";
1411 repo = "bees";
1512 rev = "v${version}";
16− inherit sha256;
13+ sha256 = "sha256-brEjr7lhmKDCIDeLq+XP+ZTxv1RvwoUlszMSEYygxv8=";
1714 };
1815
1916 buildInputs = [
@@ -58,7 +55,7 @@ let
5855
5956in
6057
61−runCommand "bees-service-${version}" {
58+runCommand "bees-service" {
6259 inherit bash bees coreutils utillinux;
6360 btrfsProgs = btrfs-progs; # needs to be a valid shell variable name
6461} ''