Merge pull request #5773 from matthiasbeyer/add-cortex
Add cortex in applications/misc
This commit is contained in:
commit
e01d24bd72
@ -108,6 +108,7 @@
|
||||
manveru = "Michael Fellinger <m.fellinger@gmail.com>";
|
||||
marcweber = "Marc Weber <marco-oweber@gmx.de>";
|
||||
matejc = "Matej Cotman <cotman.matej@gmail.com>";
|
||||
matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>";
|
||||
meditans = "Carlo Nucera <meditans@gmail.com>";
|
||||
meisternu = "Matt Miemiec <meister@krutt.org>";
|
||||
michelk = "Michel Kuhlmann <michel@kuhlmanns.info>";
|
||||
|
31
pkgs/applications/misc/cortex/default.nix
Normal file
31
pkgs/applications/misc/cortex/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchgit, python3 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cortex";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/gglucas/cortex";
|
||||
rev = "e749de6c21aae02386f006fd0401d22b9dcca424";
|
||||
sha256 = "d5d59c5257107344122c701eb370f3740f9957b6b898ac798d797a4f152f614c";
|
||||
};
|
||||
|
||||
buildInputs = [ stdenv python3 ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace cortex --replace "/usr/bin/env python3" "${python3}/bin/python3"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp cortex $out/bin/
|
||||
chmod +x $out/bin/cortex
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://cortex.glacicle.org";
|
||||
description = "An ncurses reddit browser and monitor";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
|
||||
}
|
@ -9468,6 +9468,8 @@ let
|
||||
inherit (gnome) libgnomeui GConf;
|
||||
};
|
||||
|
||||
cortex = callPackage ../applications/misc/cortex { };
|
||||
|
||||
csound = callPackage ../applications/audio/csound { };
|
||||
|
||||
cinepaint = callPackage ../applications/graphics/cinepaint {
|
||||
|
Loading…
Reference in New Issue
Block a user