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: 2f6da091cec5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 078687526e3b
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 17, 2019

  1. Copy the full SHA
    0786875 View commit details
Showing with 9 additions and 224 deletions.
  1. +9 −11 pkgs/servers/miniflux/default.nix
  2. +0 −213 pkgs/servers/miniflux/deps.nix
20 changes: 9 additions & 11 deletions pkgs/servers/miniflux/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
{ stdenv , buildGoPackage , fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoPackage rec {
buildGoModule rec {
pname = "miniflux";
version = "2.0.14";

goPackagePath = "miniflux.app";
version = "2.0.15";

src = fetchFromGitHub {
owner = "miniflux";
repo = "miniflux";
owner = pname;
repo = pname;
rev = version;
sha256 = "1wd52zk7i07k0b5rlwqd4qszq42shdb4ss8871jqlf9zlbq85a0v";
sha256 = "1k53dkmd41x5h81arb2fs5s9yb6sy6113nbbzls6dc179slfg9zj";
};

goDeps = ./deps.nix;
modSha256 = "1i3xzl6kkpl4v1229rhg61j1952qxzbhav7fb2hv85903rkz51x1";

doCheck = true;

buildFlagsArray = ''
-ldflags=-X ${goPackagePath}/version.Version=${version}
-ldflags=-X miniflux.app/version.Version=${version}
'';

postInstall = ''
mv $bin/bin/miniflux.app $bin/bin/miniflux
mv $out/bin/miniflux.app $out/bin/miniflux
'';

meta = with stdenv.lib; {
213 changes: 0 additions & 213 deletions pkgs/servers/miniflux/deps.nix

This file was deleted.