Commit 991ddfeb authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

nix-update: simplify expression

parent b4948783
Loading
Loading
Loading
Loading
+48 −50
Original line number Diff line number Diff line
@@ -6,10 +6,10 @@
  nix-prefetch-git,
  nixpkgs-review,
  python3Packages,
  nix-update,
}:

let
  self = python3Packages.buildPythonApplication {
python3Packages.buildPythonApplication rec {
  pname = "nix-update";
  version = "1.11.0";
  pyproject = true;
@@ -17,7 +17,7 @@ let
  src = fetchFromGitHub {
    owner = "Mic92";
    repo = "nix-update";
      tag = self.version;
    tag = version;
    hash = "sha256-G5YehePEMhTgxCnLp8Dg+bDHvOe+QltlCkQHVwMtYx0=";
  };

@@ -43,13 +43,13 @@ let
  '';

  passthru = {
      nix-update-script = callPackage ./nix-update-script.nix { nix-update = self; };
    nix-update-script = callPackage ./nix-update-script.nix { inherit nix-update; };
  };

  meta = {
    description = "Swiss-knife for updating nix packages";
    homepage = "https://github.com/Mic92/nix-update/";
      changelog = "https://github.com/Mic92/nix-update/releases/tag/${self.version}";
    changelog = "https://github.com/Mic92/nix-update/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      figsoda
@@ -57,6 +57,4 @@ let
    ];
    mainProgram = "nix-update";
  };
  };
in
self
}