Skip to content

Commit

Permalink
add a similar-sort package
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 9, 2019
1 parent 740ba46 commit faf06c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pkgs/similar-sort/default.nix
@@ -0,0 +1,16 @@
{ pkgs, ... }:

pkgs.stdenv.mkDerivation {
name = "similar-sort";
buildInputs = [ pkgs.go ];
src = ./.;

buildPhase = ''
env HOME=$(pwd) GOPATH=$(pwd) go build similar-sort.go
'';

installPhase = ''
mkdir -p $out/bin
cp similar-sort $out/bin
'';
}
File renamed without changes.

0 comments on commit faf06c0

Please sign in to comment.