2014-07-02 08:43:47 +02:00
|
|
|
{ stdenv, fetchhg, autoconf, sqlite }:
|
|
|
|
|
2015-05-14 17:18:17 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vcprompt-${version}";
|
|
|
|
version = "1.2.1";
|
2014-07-02 08:43:47 +02:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "http://hg.gerg.ca/vcprompt/";
|
2015-05-14 17:18:17 +02:00
|
|
|
rev = version;
|
2014-07-02 08:43:47 +02:00
|
|
|
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite autoconf ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
autoconf
|
|
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''
|
|
|
|
A little C program that prints a short string with barebones information
|
|
|
|
about the current working directory for various version control systems
|
|
|
|
'';
|
|
|
|
homepage = http://hg.gerg.ca/vcprompt;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
2018-09-08 15:15:58 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2014-07-02 08:43:47 +02:00
|
|
|
};
|
|
|
|
}
|