Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Jun 4, 2021
1 parent dcf2263 commit be511e4
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 63 deletions.
20 changes: 13 additions & 7 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.buildGoModule {
pname = "nar-serve";
version = "latest";
src = pkgs.lib.cleanSource ./.;
vendorSha256 = "sha256-+ms40eK/zdDwE3I19hcIkep9aLvpffvwyaNPXlBef2I=";
doCheck = false;
{ system ? builtins.currentSystem
, nixpkgs ? import <nixpkgs> { inherit system; }
}:
{
nar-serve = nixpkgs.buildGoModule {
pname = "nar-serve";
version = "latest";
src = nixpkgs.lib.cleanSource ./.;
vendorSha256 = "sha256-Rhy8QTBHNOLz91MDsvg2WOmu6A95w5IBTjY4AhvrS7g=";
doCheck = false;
};

devShell = import ./shell.nix { inherit nixpkgs; };
}
13 changes: 4 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@
//
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlay ];
};
pkgs = nixpkgs.legacyPackages.${system};
in
rec {
packages.nar-serve = pkgs.nar-serve;
defaultPackage = pkgs.nar-serve;
apps.nar-serve = flake-utils.lib.mkApp { drv = pkgs.nar-serve; };
defaultApp = apps.nar-serve;
devShell = import ./shell.nix { inherit pkgs; };
packages = import ./. { nixpkgs = pkgs; };
defaultPackage = packages.nar-serve;
devShell = packages.devShell;
}
);
}
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/numtide/nar-serve
go 1.14

require (
cloud.google.com/go/storage v1.10.0
github.com/aws/aws-sdk-go v1.33.13
cloud.google.com/go/storage v1.15.0
github.com/aws/aws-sdk-go v1.38.52
github.com/stretchr/testify v1.6.1
github.com/ulikunitz/xz v0.5.7
github.com/ulikunitz/xz v0.5.10
github.com/urfave/negroni v1.0.0
)
Loading

0 comments on commit be511e4

Please sign in to comment.