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: 0336dda91bd1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e2983215d20f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 1, 2021

  1. ctodo: enable build on unix

    siraben committed Jan 1, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    cc9e751 View commit details
  2. Merge pull request #108097 from siraben/ctodo-platform

    ctodo: enable build on unix
    SuperSandro2000 authored Jan 1, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e298321 View commit details
Showing with 12 additions and 13 deletions.
  1. +12 −13 pkgs/applications/misc/ctodo/default.nix
25 changes: 12 additions & 13 deletions pkgs/applications/misc/ctodo/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
{ stdenv, cmake, fetchurl, ncurses, readline }:
{ stdenv, fetchFromGitHub, cmake, ncurses, readline }:

stdenv.mkDerivation rec {
pname = "ctodo";
version = "1.3";

src = fetchurl {
url = "https://github.com/Acolarh/ctodo/archive/v${version}.tar.gz";
sha256 = "1k3raigcgpwa0h8zkv5x9rycnn2iqkb9qim4q9ydqy9wbv3m32jb";
src = fetchFromGitHub {
owner = "Acolarh";
repo = pname;
rev = "v${version}";
sha256 = "0mqy5b35cbdwfpbs91ilsgz3wc4cky38xfz9pnr4q88q1vybigna";
};

buildInputs = [ stdenv cmake ncurses readline ];
nativeBuildInputs = [ cmake ];
buildInputs = [ ncurses readline ];

configurePhase = ''
cmake -DCMAKE_INSTALL_PREFIX=$out .
'';

meta = {
meta = with stdenv.lib; {
homepage = "http://ctodo.apakoh.dk/";
description = "A simple ncurses-based task list manager";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
platforms = stdenv.lib.platforms.linux;
license = licenses.mit;
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.unix;
};
}