gsort: Initial packaging

This commit is contained in:
Tyson Whitehead
2019-11-07 17:26:34 -05:00
parent 05a704f989
commit ded9f94444
3 changed files with 74 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ self: super: pkgs: with pkgs; {
ghmm = callPackage ./ghmm { };
gsort = callPackage ./gsort { };
inherit (callPackages ./octopus/libxc.nix { }) libxc301 libxc404;
libxc3 = libxc301;
libxc4 = libxc404;

24
pkgs/gsort/default.nix Normal file
View File

@@ -0,0 +1,24 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "gsort-${version}";
version = "0.1.2";
goPackagePath = "github.com/brentp/gsort";
src = fetchgit {
rev = "v${version}";
url = "https://github.com/brentp/gsort.git";
sha256 = "1l65f8dn0d2jdk1x8bz3p03ia146rlzjflmz4rdzw8nax0kc2n6w";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://github.com/brentp/gsort;
description = "A tool to sort genomic files according to a genomefile.";
platforms = platforms.all;
license = licenses.mit;
};
}

48
pkgs/gsort/deps.nix Normal file
View File

@@ -0,0 +1,48 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/alexflint/go-arg";
fetch = {
type = "git";
url = "https://github.com/alexflint/go-arg";
rev = "c0c7a3ba8a1854cd85e65cca4f0e2028698a0738";
sha256 = "19vcwh799521rvs4cyplkmw5jw07xqrmvxicf1x57mqgg4y4rapx";
};
}
{
goPackagePath = "github.com/brentp/xopen";
fetch = {
type = "git";
url = "https://github.com/brentp/xopen";
rev = "111b45cadc7d8be411420143ce0873a889c90227";
sha256 = "027nzdcxm1nylj1h25085k1xyz430m7g2qb3ni7j45jviypsffxw";
};
}
{
goPackagePath = "github.com/gogetdata/ggd-utils";
fetch = {
type = "git";
url = "https://github.com/gogetdata/ggd-utils";
rev = "8f15d3f0e0fe269cd980cf82489ecbd2e6bee2a8";
sha256 = "0m0258ylaklab72d4ayiiv4vlfb8yz00np9k5f0axqjkcz0ppwg3";
};
}
{
goPackagePath = "github.com/klauspost/compress";
fetch = {
type = "git";
url = "https://github.com/klauspost/compress";
rev = "16a4d3d7137cdefd94d420f22b5c20260674b95c";
sha256 = "00dy0xr8hyr8l4215kcaqkf232vrrxwrdkaidapnxg77gvd4lpb7";
};
}
{
goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
rev = "27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7";
sha256 = "0yzmgi6g4ak4q8y7w6x0n5cbinlcn8yc3gwgzy4yck00qdn25d6y";
};
}
]