Add escoger, a terminal fuzzy selector.
default.nix was generated with cabal2nix, but modified to use GitHub as the source since escoger isn't on Hackage. Closes #4194
This commit is contained in:
parent
9c25f350a8
commit
db23eace0d
33
pkgs/tools/misc/escoger/default.nix
Normal file
33
pkgs/tools/misc/escoger/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ cabal, dataDefault, fetchFromGitHub, HUnit, mtl, parallel
|
||||
, QuickCheck, testFramework, testFrameworkHunit
|
||||
, testFrameworkQuickcheck2, vector, vectorAlgorithms, vty
|
||||
}:
|
||||
|
||||
let
|
||||
rv = "b6b11c51846a9283ef4ee7c839b99ded9f6c3bc8";
|
||||
in
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "escoger";
|
||||
version = "0.1.0.0-${rv}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tstat";
|
||||
repo = "escoger";
|
||||
rev = rv;
|
||||
sha256 = "0n6mvg5cm50ym20bz74b7q1afkljp0fc9pxhqk0ai82a71xxbxy3";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
dataDefault mtl parallel vector vectorAlgorithms vty
|
||||
];
|
||||
testDepends = [
|
||||
dataDefault HUnit mtl parallel QuickCheck testFramework
|
||||
testFrameworkHunit testFrameworkQuickcheck2 vector vectorAlgorithms
|
||||
vty
|
||||
];
|
||||
meta = {
|
||||
description = "A multithreaded terminal fuzzy selector";
|
||||
license = self.stdenv.lib.licenses.mit;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -3119,6 +3119,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
||||
|
||||
commandQq = callPackage ../development/libraries/haskell/command-qq {};
|
||||
|
||||
escoger = callPackage ../tools/misc/escoger { };
|
||||
|
||||
gitAnnex = callPackage ../applications/version-management/git-and-tools/git-annex {};
|
||||
|
||||
githubBackup = callPackage ../applications/version-management/git-and-tools/github-backup {};
|
||||
|
Loading…
Reference in New Issue
Block a user