mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
1be3d412c0
`buildGoModule` and `buildGoPackage` by default inherit the `platforms` from go. That seems better than explicitly configuring `platforms.all`. There are also many packages that specify 'linux + darwin' - this is even suggested in the documentation. We might also want to update those, but let's do the noncontroversial change first.
26 lines
574 B
Nix
26 lines
574 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gophernotes";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gopherdata";
|
|
repo = "gophernotes";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-EEMKV+k5qcep4z7J5r1nSLxmb0fbfpJOPmz5bE91cd8=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-Wy4HcPlrlYUjRQHhw+UPAa+Rn1FvJobWGxgFiJKJTAg=";
|
|
|
|
meta = with lib; {
|
|
description = "Go kernel for Jupyter notebooks";
|
|
homepage = "https://github.com/gopherdata/gophernotes";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|