3
0
Fork 0
forked from mirrors/nixpkgs

src: bump

This commit is contained in:
Shea Levy 2014-11-26 16:33:59 -05:00
parent e86ebdc0e3
commit 64453d01f4
2 changed files with 10 additions and 10 deletions

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, python, rcs, git }:
stdenv.mkDerivation rec {
name = "src-0.12";
name = "src-0.13";
src = fetchurl {
url = "http://www.catb.org/~esr/src/${name}.tar.gz";
sha256 = "1w8k9z2dxim99nniid9kjsc5lzri7m4sd0n819y73aqcdi54lr1s";
sha256 = "03x0slgi6bnzgfn7f9qbl6jma0pj7357kwdh832l3v8zafk41p51";
};
buildInputs = [ python ];

View file

@ -1,24 +1,24 @@
diff -Naur src-0.12-orig/src src-0.12/src
--- src-0.12-orig/src 2014-11-21 08:19:59.000000000 -0500
+++ src-0.12/src 2014-11-21 15:54:54.598113846 -0500
diff -Naur src-0.13-orig/src src-0.13/src
--- src-0.13-orig/src 2014-11-24 03:56:16.000000000 -0500
+++ src-0.13/src 2014-11-26 16:32:32.925151003 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!@python@/bin/python
#
# src - simple revision control.
#
@@ -58,6 +58,8 @@
@@ -51,6 +51,8 @@
import sys, os, subprocess, time, calendar, stat, glob, shutil, hashlib
+os.environ['PATH'] = "@rcs@/bin:@git@/bin:" + os.environ['PATH']
+
version="0.12"
version="0.13"
def rfc3339(t):
diff -Naur src-0.12-orig/srctest src-0.12/srctest
--- src-0.12-orig/srctest 2014-11-21 08:12:00.000000000 -0500
+++ src-0.12/srctest 2014-11-21 15:58:31.370500990 -0500
diff -Naur src-0.13-orig/srctest src-0.13/srctest
--- src-0.13-orig/srctest 2014-11-21 08:12:00.000000000 -0500
+++ src-0.13/srctest 2014-11-26 16:33:13.627715388 -0500
@@ -12,7 +12,7 @@
# Set the PATH to include the current directory, so the repository