forked from mirrors/nixpkgs
Merge pull request #3871 from robberer/pkgs/nanoblogger
nanoblogger: adding version 3.5-rc1
This commit is contained in:
commit
f9b780abd8
29
pkgs/applications/misc/nanoblogger/default.nix
Normal file
29
pkgs/applications/misc/nanoblogger/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ fetchurl, stdenv, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.5-rc1";
|
||||
name = "nanoblogger-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/nanoblogger/${name}.tar.gz";
|
||||
sha256 = "09mv52a5f0h3das8x96irqyznm69arfskx472b7w3b9q4a2ipxbq";
|
||||
};
|
||||
|
||||
buildInputs = [ ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r * $out
|
||||
cat > $out/bin/nb << EOF
|
||||
#!${bash}/bin/bash
|
||||
$out/nb "\$@"
|
||||
EOF
|
||||
chmod 755 $out/bin/nb
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Small weblog engine written in Bash for the command line";
|
||||
homepage = http://nanoblogger.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
|
@ -9435,6 +9435,8 @@ let
|
|||
|
||||
nano = callPackage ../applications/editors/nano { };
|
||||
|
||||
nanoblogger = callPackage ../applications/misc/nanoblogger { };
|
||||
|
||||
navipowm = callPackage ../applications/misc/navipowm { };
|
||||
|
||||
navit = callPackage ../applications/misc/navit { };
|
||||
|
|
Loading…
Reference in a new issue