git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #30942 from andrestylianos/joker

joker: init at 0.8.6

commit3ea077e63817c5c1baf8c5b925c8cf89b5ba4776 authorOrivej Desh <orivej@gmx.fr> dateSat 4 Nov 2017, 07:09 (9 years ago) parentec270cda167ea6
4 files changed+45
lib/maintainers.nix+1 pkgs/development/interpreters/joker/default.nix+31 pkgs/development/interpreters/joker/deps.nix+11 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -44,6 +44,7 @@
4444 anderspapitto = "Anders Papitto <anderspapitto@gmail.com>";
4545 andir = "Andreas Rammhold <andreas@rammhold.de>";
4646 andres = "Andres Loeh <ksnixos@andres-loeh.de>";
47+ andrestylianos = "Andre S. Ramos <andre.stylianos@gmail.com>";
4748 andrewrk = "Andrew Kelley <superjoe30@gmail.com>";
4849 andsild = "Anders Sildnes <andsild@gmail.com>";
4950 aneeshusa = "Aneesh Agrawal <aneeshusa@gmail.com>";
pkgs/development/interpreters/joker/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "joker-${version}";
5+ version = "0.8.6";
6+
7+ goPackagePath = "github.com/candid82/joker";
8+
9+ src = fetchFromGitHub {
10+ rev = "v${version}";
11+ owner = "candid82";
12+ repo = "joker";
13+ sha256 = "0m6xi1jgss6f4maxqpwjyyhyyc71wy5a7jpm908m49xx80mz5ams";
14+ };
15+
16+ preBuild = "go generate ./...";
17+
18+ dontInstallSrc = true;
19+
20+ excludedPackages = "gen"; # Do not install private generators.
21+
22+ goDeps = ./deps.nix;
23+
24+ meta = with stdenv.lib; {
25+ homepage = https://github.com/candid82/joker;
26+ description = "A small Clojure interpreter and linter written in Go";
27+ license = licenses.epl10;
28+ platforms = platforms.all;
29+ maintainers = with maintainers; [ andrestylianos ];
30+ };
31+}
pkgs/development/interpreters/joker/deps.nixnew file+11
@@ -0,0 +1,11 @@
1+[
2+ {
3+ goPackagePath = "github.com/chzyer/readline";
4+ fetch = {
5+ type = "git";
6+ url = "https://github.com/chzyer/readline";
7+ rev = "6a4bc7b4feaeff8feb63f87d5fb2cf3e3610a559";
8+ sha256 = "1ny3rws671sa9bj5phg6k1rprlgzys73kfdr14vxq4wnwz84zbrc";
9+ };
10+ }
11+]
pkgs/top-level/all-packages.nix+2
@@ -6436,6 +6436,8 @@ with pkgs;
64366436
64376437 jmeter = callPackage ../applications/networking/jmeter {};
64386438
6439+ joker = callPackage ../development/interpreters/joker {};
6440+
64396441 davmail = callPackage ../applications/networking/davmail {};
64406442
64416443 kanif = callPackage ../applications/networking/cluster/kanif { };