mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 23:33:30 +00:00
Merge pull request #53400 from JakobBruenker/no-curses-idris
idris-modules/curses.nix: delete
This commit is contained in:
commit
3a0945f339
@ -1,33 +0,0 @@
|
|||||||
{ build-idris-package
|
|
||||||
, fetchFromGitHub
|
|
||||||
, effects
|
|
||||||
, lib
|
|
||||||
, ncurses
|
|
||||||
}:
|
|
||||||
build-idris-package {
|
|
||||||
name = "curses";
|
|
||||||
version = "2017-10-12";
|
|
||||||
|
|
||||||
idrisDeps = [ effects ];
|
|
||||||
|
|
||||||
extraBuildInputs = [ ncurses ];
|
|
||||||
|
|
||||||
postUnpack = ''
|
|
||||||
sed -i 's/^libs = curses$/libs = ncurses/g' source/curses.ipkg
|
|
||||||
sed -i 's/\#include <curses.h>/#include \<ncurses.h\>/g' source/src/cursesrun.h
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "JakobBruenker";
|
|
||||||
repo = "curses-idris";
|
|
||||||
rev = "ea4bbcfcf691f0dc731f2dfa676011809db084cb";
|
|
||||||
sha256 = "17q8hg5f61lk2kh3j4cwrwja282sihlcjdrx233z4237alp9w4g1";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "libusb binding for idris and Effectful curses programming";
|
|
||||||
homepage = https://github.com/JakobBruenker/curses-idris;
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
maintainers = [ lib.maintainers.brainrape ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -75,8 +75,6 @@
|
|||||||
|
|
||||||
cube = callPackage ./cube.nix {};
|
cube = callPackage ./cube.nix {};
|
||||||
|
|
||||||
curses = callPackage ./curses.nix {};
|
|
||||||
|
|
||||||
data = callPackage ./data.nix {};
|
data = callPackage ./data.nix {};
|
||||||
|
|
||||||
derive = callPackage ./derive.nix {};
|
derive = callPackage ./derive.nix {};
|
||||||
|
Loading…
Reference in New Issue
Block a user