summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-12-26 11:51:23 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-12-26 11:54:31 +0700
commit10bca26212cffe4f569df58e94e348349b8a5017 (patch)
tree9d251d6606c68b66e80f2f6c75147c622024df10
parentafcfcec41a0be3df69696ef360c5fe6913248dbb (diff)
downloadnixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.tar
nixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.tar.gz
nixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.tar.bz2
nixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.tar.lz
nixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.tar.xz
nixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.tar.zst
nixpkgs-10bca26212cffe4f569df58e94e348349b8a5017.zip
deadpixi-sam-unstable: 2017-10-27 -> 2020-07-14
-rw-r--r--pkgs/applications/editors/deadpixi-sam/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/editors/deadpixi-sam/default.nix b/pkgs/applications/editors/deadpixi-sam/default.nix
index 463865d26bf..e17fb402ed3 100644
--- a/pkgs/applications/editors/deadpixi-sam/default.nix
+++ b/pkgs/applications/editors/deadpixi-sam/default.nix
@@ -1,20 +1,20 @@
 { lib, stdenv, fetchFromGitHub, freetype, libX11, libXi, libXt, libXft }:
 
 stdenv.mkDerivation rec {
-  version = "2017-10-27";
   pname = "deadpixi-sam-unstable";
+  version = "2020-07-14";
 
   src = fetchFromGitHub {
     owner = "deadpixi";
     repo = "sam";
-    rev = "51693780fb1457913389db6634163998f9b775b8";
-    sha256 = "0nfkj93j4bgli4ixbk041nwi14rabk04kqg8krq4mj0044m1qywr";
+    rev = "5d8acb35d78c327d76f00a54857cbd566ed9bc11";
+    sha256 = "sha256-+vRh6nDPc3UnmEdqROHRel5Te0h5m4eiaERs492xciQ=";
   };
 
   postPatch = ''
     substituteInPlace config.mk.def \
       --replace "/usr/include/freetype2" "${freetype.dev}/include/freetype2" \
-      --replace "CC=gcc" ""
+      --replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc"
   '';
 
   CFLAGS = "-D_DARWIN_C_SOURCE";
@@ -27,10 +27,10 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
-    inherit (src.meta) homepage;
+    homepage = "https://github.com/deadpixi/sam";
     description = "Updated version of the sam text editor";
-    license = with licenses; lpl-102;
+    license = licenses.lpl-102;
     maintainers = with maintainers; [ ramkromberg ];
-    platforms = with platforms; unix;
+    platforms = platforms.unix;
   };
 }