Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d7a0e03cfa06
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 67a4067a443d
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Nov 29, 2018

  1. Copy the full SHA
    67a4067 View commit details
Showing with 107 additions and 0 deletions.
  1. +30 −0 pkgs/applications/misc/autospotting/default.nix
  2. +75 −0 pkgs/applications/misc/autospotting/deps.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
30 changes: 30 additions & 0 deletions pkgs/applications/misc/autospotting/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "autospotting-${version}";
version = "unstable-2018-11-17";
goPackagePath = "github.com/AutoSpotting/AutoSpotting";

src = fetchFromGitHub {
owner = "AutoSpotting";
repo = "AutoSpotting";
rev = "122ab8f292a2f718dd85e79ec22acd455122907e";
sha256 = "0p48lgig9kblxvgq1kggczkn4qdbx6ciq9c8x0179i80vl4jf7v6";
};

goDeps = ./deps.nix;

# patching path where repository used to exist
postPatch = ''
sed -i "s+github.com/cristim/autospotting/core+github.com/AutoSpotting/AutoSpotting/core+" autospotting.go
'';

meta = with stdenv.lib; {
homepage = https://github.com/AutoSpotting/AutoSpotting;
description = "Automatically convert your existing AutoScaling groups to up to 90% cheaper spot instances with minimal configuration changes";
license = licenses.free;
maintainers = [ maintainers.costrouc ];
platforms = platforms.linux;
};

}
75 changes: 75 additions & 0 deletions pkgs/applications/misc/autospotting/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -595,6 +595,8 @@ with pkgs;

autoflake = callPackage ../development/tools/analysis/autoflake { };

autospotting = callPackage ../applications/misc/autospotting { };

avfs = callPackage ../tools/filesystems/avfs { };

avldrums-lv2 = callPackage ../applications/audio/avldrums-lv2 { };