-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94225 from sternenseemann/lowdown
lowdown: init at 0.7.2
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ stdenv, fetchurl, which }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "lowdown"; | ||
version = "0.7.2"; | ||
|
||
outputs = [ "out" "dev" ]; | ||
|
||
src = fetchurl { | ||
url = "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${version}.tar.gz"; | ||
sha512 = "3ks1jfw4rjm0qb87ask7wx0xx1grxhbpg53r86q74zhsiqqi6xiza2czg75mydmgic1nr9ny43d5p44sl8ihhja9kwdx230nblx1176"; | ||
}; | ||
|
||
nativeBuildInputs = [ which ]; | ||
|
||
configurePhase = '' | ||
./configure PREFIX=''${!outputDev} \ | ||
BINDIR=''${!outputBin}/bin \ | ||
MANDIR=''${!outputBin}/share/man | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = "https://kristaps.bsd.lv/lowdown/"; | ||
description = "Simple markdown translator"; | ||
license = licenses.isc; | ||
maintainers = [ maintainers.sternenseemann ]; | ||
platforms = platforms.unix; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters