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

Commits on Apr 2, 2020

  1. lilyterm: 2017-01-06 -> 2019-07-25

    faf1254f46049edfb1fd6e9191e78b1b23b9c51d
      Fix a segfault bug for vte-0.54
    AndersonTorres authored and Profpatsch committed Apr 2, 2020
    Copy the full SHA
    a4e96ca View commit details
Showing with 11 additions and 10 deletions.
  1. +11 −10 pkgs/applications/misc/lilyterm/default.nix
21 changes: 11 additions & 10 deletions pkgs/applications/misc/lilyterm/default.nix
Original file line number Diff line number Diff line change
@@ -2,40 +2,41 @@
, pkgconfig
, autoconf, automake, intltool, gettext
, gtk, vte

, flavour ? "stable"
}:

assert lib.assertOneOf "flavour" flavour [ "stable" "git" ];

let
pname = "lilyterm";
stuff =
if flavour == "stable"
then rec {
version = "0.9.9.4";
src = fetchurl {
url = "https://lilyterm.luna.com.tw/file/lilyterm-${version}.tar.gz";
url = "https://lilyterm.luna.com.tw/file/${pname}-${version}.tar.gz";
sha256 = "0x2x59qsxq6d6xg5sd5lxbsbwsdvkwqlk17iw3h4amjg3m1jc9mp";
};
}
else {
version = "2017-01-06";
version = "2019-07-25";
src = fetchFromGitHub {
owner = "Tetralet";
repo = "lilyterm";
rev = "20cce75d34fd24901c9828469d4881968183c389";
sha256 = "0am0y65674rfqy69q4qz8izb8cq0isylr4w5ychi40jxyp68rkv2";
repo = pname;
rev = "faf1254f46049edfb1fd6e9191e78b1b23b9c51d";
sha256 = "054450gk237c62b677365bcwrijr63gd9xm8pv68br371wdzylz7";
};
};

in
stdenv.mkDerivation {
pname = "lilyterm";
with stdenv.lib;
stdenv.mkDerivation rec {
inherit pname;

inherit (stuff) src version;

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake intltool gettext gtk vte ];
nativeBuildInputs = [ pkgconfig autoconf automake intltool gettext ];
buildInputs = [ gtk vte ];

preConfigure = "sh autogen.sh";