3
0
Fork 0
forked from mirrors/nixpkgs

treewide: simplify rev/repo arguments in src

+ use fetchFromGithub where possible
This commit is contained in:
Pavol Rusnak 2020-11-01 23:39:49 +01:00 committed by Jonathan Ringer
parent c6afa8820b
commit 2c931312ce
86 changed files with 148 additions and 134 deletions

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "0hagnn104ybzdp13r95idw20fhmzif8p3kmiypnr20m6c64rdd29";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "1f7xrljvsy7a1p8c7wln2zhwarl3ara7gbjxkpyh47wfdpigpdb0";
};

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "fabiocolacio";
repo = "Marker";
rev = "${version}";
rev = version;
fetchSubmodules = true;
sha256 = "1iy7izyprf050bix8am1krqivgyxnhx3jm775v8f80cgbqxy7m5r";
};

View file

@ -74,7 +74,7 @@ in mkDerivation rec {
src = fetchFromGitHub {
owner = "drawpile";
repo = "drawpile";
rev = "${version}";
rev = version;
sha256 = "sha256-AFFY+FcY9ExAur13OoWR9285RZtBe6jnRIrwi5raiCM=";
};

View file

@ -8,7 +8,7 @@ mkDerivation rec {
src = fetchFromGitHub {
owner = "Governikus";
repo = "AusweisApp2";
rev = "${version}";
rev = version;
sha256 = "1vibk3wmn54qr2mwz537hrr959y0r1zabp0gsijhzj2mk68g9pnb";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "electrickite";
repo = "batsignal";
rev = "${version}";
rev = version;
sha256 = "12hj0j18db34x0xzgj6xmhvxm966d05z0rl3d9rlrcd2q96lilwf";
};

View file

@ -7,8 +7,8 @@ mkDerivation rec {
src = fetchFromGitHub {
owner = "chewing";
repo = "${pname}";
rev = "${version}";
repo = pname;
rev = version;
sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w";
};

View file

@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "arsenetar";
repo = "dupeguru";
rev = "${version}";
rev = version;
sha256 = "0ma4f1c6vmpz8gi4sdy43x1ik7wh42wayvk1iq520d3i714kfcpy";
fetchSubmodules = true;
};

View file

@ -13,8 +13,8 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "sanpii";
repo = "${pname}";
rev = "${version}";
repo = pname;
rev = version;
sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig";
};

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchgit {
url = "https://codeberg.org/dnkl/fuzzel";
rev = "${version}";
rev = version;
sha256 = "0c0p9spklzmy9f7abz3mvw0vp6zgnk3ns1i6ks95ljjb3kqy9vs2";
};

View file

@ -8,7 +8,7 @@ let
src = fetchFromGitHub {
owner = "pfn";
repo = "keepasshttp";
#rev = "${version}";
# rev = version;
# for 1.8.4.2 the tag is at the wrong commit (they fixed stuff
# afterwards and didn't move the tag), hence reference by commitid
rev = "c2c4eb5388a02169400cba7a67be325caabdcc37";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "${version}";
rev = version;
sha256 = "0nh5jnf5yls2qv5hpfhm6i854zsknyh7d93c987a0cg14sg820fv";
};

View file

@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "pwr-Solaar";
repo = "Solaar";
rev = "${version}";
rev = version;
sha256 = "0k5z9dap6rawiafkg1x7zjx51ala7wra6j6lvc2nn0y8r79yp7a9";
};

View file

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "instrumenta";
repo = "kubeval";
rev = "${version}";
rev = version;
sha256 = "05li0qv4q7fy2lr50r6c1r8dhx00jb1g01qmgc72a9zqp378yiq0";
};

View file

@ -10,7 +10,7 @@ mkDerivation rec {
src = fetchFromGitHub {
owner = "QMatrixClient";
repo = "Quaternion";
rev = "${version}";
rev = version;
sha256 = "0hqhg7l6wpkdbzrdjvrbqymmahziri07ba0hvbii7dd2p0h248fv";
};

View file

@ -10,7 +10,7 @@ mkDerivation rec {
src = fetchFromGitHub {
owner = "genonbeta";
repo = "TrebleShot-Desktop";
rev = "${version}";
rev = version;
sha256 = "1k8wagw6arsi1lqkhn1nl6j11mb122vi1qs0q2np6nznwfy7pn1k";
};

View file

@ -10,7 +10,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromBitbucket {
owner = "jpcgt";
repo = "${pname}";
repo = pname;
rev = "533afd6a1772857cb633c011b5e0a15b60b1e92e"; # 8.5 with Red Hat packaging.
sha256 = "199kiiml18k34z1zhk2hbhibphmnv0kb11kxiajq52alps0mjb3m";
};

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "potassco";
repo = "${pname}";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "1q7517h10jfvjdk2czq8d6y57r8kr1j1jj2k2ip2qxkpyfigk4rs";

View file

@ -7,7 +7,7 @@ buildPythonApplication rec {
src = fetchFromGitHub {
owner = "c4urself";
repo = "${pname}";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "10p7rg569rk3qvzs5kjj17894bqlsg3ihhbln6ciwwfhkfq1kpja";
};

View file

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "gabrie30";
repo = "ghorg";
rev = "${version}";
rev = version;
sha256 = "0diwndkckv6fga45j9zngizycn5m71r67cziv0zrx6c66ssbj49w";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "zayronxio";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv";
};

View file

@ -1,11 +1,13 @@
{ stdenv, fetchgit, gtk-engine-murrine }:
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
stdenv.mkDerivation {
name = "orion-1.5";
stdenv.mkDerivation rec {
pname = "orion";
version = "1.5";
src = fetchgit {
url = "https://github.com/shimmerproject/Orion.git";
rev = "refs/tags/v1.5";
src = fetchFromGitHub {
owner = "shimmerproject";
repo = "Orion";
rev = "refs/tags/v${version}";
sha256 = "1116yawv3fspkiq1ykk2wj0gza3l04b5nhldy0bayzjaj0y6fd89";
};

View file

@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
version = "3.22.11";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
domain = "gitlab.gnome.org";
rev = "${version}";
rev = version;
sha256 = "1asm0y6485xqsysdg586y3hzz8bhxqwnc82k6vhfnxpxz7l62qa1";
};

View file

@ -7,7 +7,7 @@
let
release_version = "11.0.0";
version = "${release_version}"; # differentiating these (variables) is important for RCs
version = release_version; # differentiating these (variables) is important for RCs
targetConfig = stdenv.targetPlatform.config;
fetch = name: sha256: fetchurl {

View file

@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "acl2-devel";
repo = "acl2-devel";
rev = "${version}";
rev = version;
sha256 = "0c0wimaf16nrr3d6cxq6p7nr7rxffvpmn66hkpwc1m6zpcipf0y5";
};

View file

@ -145,7 +145,7 @@ stdenv.mkDerivation {
src = fetchgit {
url = "https://github.com/anmonteiro/lumo.git";
rev = "${version}";
rev = version;
sha256 = "12agi6bacqic2wq6q3l28283badzamspajmajzqm7fbdl2aq1a4p";
};

View file

@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "01k1fpk2qp4kv0xr4f0xmrjkr98j5ws48r1aks8l80mffs4ynqfr";
fetchSubmodules = true;

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "cminyard";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "07m8rbdk05biarc9xskwcx9lghj0dff1msxasfc6hi3jywc3xaih";
};

View file

@ -1,11 +1,12 @@
{ stdenv, fetchgit, libtool, autoconf, automake }:
{ stdenv, fetchFromGitHub, libtool, autoconf, automake }:
stdenv.mkDerivation rec {
pname = "libmkv";
version = "0.6.5.1";
src = fetchgit {
url = "https://github.com/saintdev/libmkv.git";
src = fetchFromGitHub {
owner = "saintdev";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "0pr9q7yprndl8d15ir7i7cznvmf1yqpvnsyivv763n6wryssq6dl";
};

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "rhdunn";
repo = "pcaudiolib";
rev = "${version}";
rev = version;
sha256 = "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0";
};

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "wiiuse";
repo = "wiiuse";
rev = "${version}";
rev = version;
sha256 = "05gc3s0wxx7ga4g32yyibyxdh46rm9bbslblrc72ynrjxq98sg13";
};

View file

@ -30,7 +30,7 @@ let
src = fetchFromBitbucket {
owner = "multicoreware";
repo = "x265_git";
rev = "${version}";
rev = version;
sha256 = "1jzgv2hxhcwmsdf6sbgyzm88a46dp09ll1fqj92g9vckvh9a7dsn";
};

View file

@ -7,7 +7,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-dispatch";
rev = "${version}";
rev = version;
sha256 = "05kb9zcihk50r2haqz8vrlr7kmaka6vrs4j1z500lmnl877as6qr";
};

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "lindig";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "04lv98nxmzanvyn4c0k6k0ax29f5xfdl8qzpf5hwadslq213a044";
};

View file

@ -13,7 +13,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-webmachine";
rev = "${version}";
rev = version;
sha256 = "1zi1vsm589y2njwzsqkmdbxvs9s4xlgbd62xqw2scp60mccp09nk";
};

View file

@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "jimfunk";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "1rrh38f3zl3jk5ijs6g75dxxvxygf4lczbgc7ahrgzf58g4a48lm";
};

View file

@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitHub
, requests
, webob
}:
@ -9,8 +9,9 @@ buildPythonPackage rec {
pname = "hawkauthlib";
version = "0.1.1";
src = fetchgit {
url = "https://github.com/mozilla-services/hawkauthlib.git";
src = fetchFromGitHub {
owner = "mozilla-services";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
};

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab {
owner = "stuko";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "0rm1qxa0fanaaqg0idr6rf2s2xlbyn1dzjzwh3rddy9mgl60lj2h";
};

View file

@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "spatialaudio";
repo = "python-pa-ringbuffer";
rev = "${version}";
rev = version;
sha256 = "0afpydy1l20hd1xncjppjhqa2c8dj5h9nlv4z8m55cs9hc9h1mxv";
};

View file

@ -11,7 +11,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "olucurious";
repo = "pyfcm";
rev = "${version}";
rev = version;
sha256 = "0aj10yvjsc04j15zbn403i83j7ra5yg35pi3ywkyakk8n1s0s3qg";
};

View file

@ -1,14 +1,15 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pykka";
version = "2.0.1";
src = fetchgit {
url = "https://github.com/jodal/pykka.git";
src = fetchFromGitHub {
owner = "jodal";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "011rvv3vzj9rpwaq6vfpz9hfwm6gx1jmad4iri6z12g8nnlpydhs";
};

View file

@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitHub
, pyramid
, hawkauthlib
, tokenlib
@ -8,11 +8,12 @@
}:
buildPythonPackage rec {
pname = "pyramidhawkauth";
pname = "pyramid_hawkauth";
version = "0.1.0";
src = fetchgit {
url = "https://github.com/mozilla-services/pyramid_hawkauth.git";
src = fetchFromGitHub {
owner = "mozilla-services";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
};

View file

@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "spatialaudio";
repo = "python-rtmixer";
rev = "${version}";
rev = version;
sha256 = "1bvgzzxiypvvb3qacbcry6761x9sk3dnx7jga7pli63f69vakg4y";
fetchSubmodules = true;
};

View file

@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "alvations";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "1gzr56w8yx82mn08wax5m0xyg15ym4ri5l80gmagp8r53443j770";
};

View file

@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitHub
, canonicaljson
, unpaddedbase64
, pynacl
@ -11,8 +11,9 @@ buildPythonPackage rec {
pname = "signedjson";
version = "1.1.0";
src = fetchgit {
url = "https://github.com/matrix-org/python-signedjson.git";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "python-${pname}";
rev = "refs/tags/v${version}";
sha256 = "18s388hm3babnvakbbgfqk0jzq25nnznvhygywd3azp9b4yzmd5c";
};

View file

@ -31,7 +31,7 @@ let
src = fetchFromGitHub {
owner = "tensorflow";
repo = "probability";
rev = "${version}";
rev = version;
sha256 = "07cm8zba8n0ihzdm3k4a4rsg5v62xxsfvcw4h0niz91c0parqjqy";
};

View file

@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitHub
, requests
, webob
}:
@ -9,8 +9,9 @@ buildPythonPackage rec {
pname = "tokenlib";
version = "0.3.1";
src = fetchgit {
url = "https://github.com/mozilla-services/tokenlib.git";
src = fetchFromGitHub {
owner = "mozilla-services";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
};

View file

@ -1,14 +1,15 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "unpaddedbase64";
version = "1.1.0";
src = fetchgit {
url = "https://github.com/matrix-org/python-unpaddedbase64.git";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "python-${pname}";
rev = "refs/tags/v${version}";
sha256 = "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd";
};

View file

@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "xd009642";
repo = "tarpaulin";
rev = "${version}";
rev = version;
sha256 = "0ga2zfq4365hxvr3wd3isc146ibivy3bfcy24rb6cq3av3b90a8k";
};

View file

@ -135,8 +135,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "avast-tl";
repo = "retdec";
name = "retdec-${version}";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0chky656lsddn20bnm3pmz6ix20y4a0y8swwr42hrhi01vkhmzrp";
};

View file

@ -31,7 +31,7 @@ let
in
stdenv.mkDerivation rec {
pname = "eclipse-mat";
version = "${pVersion}";
version = pVersion;
src = fetchurl {
url = "http://ftp.halifax.rwth-aachen.de/eclipse//mat/${baseVersion}/rcp/MemoryAnalyzer-${version}-linux.gtk.x86_64.zip";

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "matejak";
repo = "argbash";
rev = "${version}";
rev = version;
sha256 = "1xdhpbnc0xjv6ydcm122hhdjcl77jhiqnccjfqjp3cd1lfmzvg8v";
};

View file

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "editorconfig-checker";
repo = "editorconfig-checker";
rev = "${version}";
rev = version;
sha256 = "18gz94h2x1z6g6r7v9cdixkbcaigd7cl08af6smlkaa89j0aki32";
};

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "kost";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5";
};

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "CoatiSoftware";
repo = "Sourcetrail";
rev = "${version}";
rev = version;
sha256 = "0jp9y86xzkcxikc1cn4f6gqgg6zdssck08677ldagw25p1zadvzw";
};

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "nicklockwood";
repo = "SwiftFormat";
rev = "${version}";
rev = version;
sha256 = "0zajvbaf3r02k53lv5zdxf13apc6chnjmj69zkyac48lpnpbcxq6";
};

View file

@ -9,7 +9,7 @@ mkDerivation rec {
src = fetchFromGitHub {
owner = "Cockatrice";
repo = "Cockatrice";
rev = "${version}";
rev = version;
sha256 = "1yaxm7q0ja3rgx197hh8ynjc6ncc4hm0qdn9v7f0l4fbv0bdpv34";
};

View file

@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchgit {
url = "https://git.sr.ht/~nicohman/eidolon";
rev = "${version}";
rev = version;
sha256 = "1yn3k569pxzw43mmsk97088xpkdc714rks3ncchbb6ccx25kgxrr";
};
cargoPatches = [ ./cargo-lock.patch ];

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation {
src = fetchFromGitHub {
owner = "Stabyourself";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "1zqaq4w599scsjvy1rsb21fd2r8j3srx9vym4ir9bh666dp36gxa";
};

View file

@ -1,11 +1,12 @@
{ stdenv, mkDerivation, fetchgit, qt5, box2d, which, cmake, gettext }:
{ stdenv, mkDerivation, fetchFromGitHub, qt5, box2d, which, cmake, gettext }:
mkDerivation rec {
pname = "tbe";
version = "0.9.3.1";
src = fetchgit {
url = "https://github.com/kaa-ching/tbe";
src = fetchFromGitHub {
owner = "kaa-ching";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "1ag2cp346f9bz9qy6za6q54id44d2ypvkyhvnjha14qzzapwaysj";
};

View file

@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
src = fetchgit {
url = "https://git.sr.ht/~nicohman/wyvern";
rev = "${version}";
rev = version;
sha256 = "1sl3yhash1527amc8rs4374fd7jbgnkyy7qpw94ms2gs80sdv3s5";
};
cargoPatches = [ ./cargo-lock.patch ];

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "AmatCoder";
repo = "mednaffe";
rev = "${version}";
rev = version;
sha256 = "15qk3a3l1phr8bap2ayh3c0vyvw2jwhny1iz1ajq2adyjpm9fhr7";
};

View file

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "digitalocean";
repo = "do-agent";
rev = "${version}";
rev = version;
sha256 = "16mmh1kz6zbncfisd9qnb3ssgpkcb4hb7700jlzbdjqxyjmy0qsf";
};

View file

@ -10,7 +10,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "timescale";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "sha256:00mhkp3nf6h2zsvmmwyza1lahvmm05isfi7rqkx24c0dmkmif3x9";
};

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "cminyard";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "01w82nrgffsfz2c80p4cyppg3bz56d90jm6i6356j0nva3784haw";
};

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "splitbrain";
repo = "${pname}";
repo = pname;
rev = "release_stable_${version}";
sha256 = "09swcqyd06l3481k190gmlr3b33dlv1lw1kk9nyh5b4sa5p3k7kk";
};

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab {
owner = "mojo42";
repo = "Jirafeau";
rev = "${version}";
rev = version;
sha256 = "09gq5zhynygpqj0skq7ifnn9yjjg7qnc6kjvaas7f53av2707z4c";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "RSS-Bridge";
repo = "rss-bridge";
rev = "${version}";
rev = version;
sha256 = "075k4bylx9308d083ry5a9q4629ccnrnndqqdqp1g42rzlqrw79q";
};

View file

@ -1,12 +1,13 @@
{ stdenv, fetchgit, gtk2, cmake, pkgconfig, libXdamage }:
{ stdenv, fetchFromGitHub, gtk2, cmake, pkgconfig, libXdamage }:
stdenv.mkDerivation rec {
version = "0.4.2";
pname = "xwinmosaic";
src = fetchgit {
url = "https://github.com/soulthreads/xwinmosaic/";
rev = "refs/tags/v0.4.2";
src = fetchFromGitHub {
owner = "soulthreads";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "scsitape";
repo = "stenc";
rev = "${version}";
rev = version;
sha256 = "1778m1zcyzyf42k5m496yqh0gv6kqhb0sq5983dhky1fccjl905k";
};

View file

@ -1,10 +1,13 @@
{stdenv, fetchgit, cmake} :
{stdenv, fetchFromGitHub, cmake} :
stdenv.mkDerivation {
name = "ddate-0.2.2";
src = fetchgit {
url = "https://github.com/bo0ts/ddate";
rev = "refs/tags/v0.2.2";
stdenv.mkDerivation rec {
pname = "ddate";
version = "0.2.2";
src = fetchFromGitHub {
owner = "bo0ts";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f";
};

View file

@ -8,7 +8,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "NerdyPepper";
repo = "${pname}";
repo = pname;
rev = "6ce0fc0212a34ffb647b24d9d903029ac4518165";
sha256 = "10242vnq2ph0g3p2hdacs4lmx3f474xm04nadplxbpv9xh4nbag3";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "nix-community";
repo = "nix-direnv";
rev = "${version}";
rev = version;
sha256 = "sha256-xMz6e0OLeB3eltGrLV3Hew0lMjH5LSgqJ1l7JT2Ho/M=";
};

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "thkukuk";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "006l1f824r9bcbwn1s1vbs33cdwhs66jn6v97yas597y884y40z9";
};

View file

@ -9,7 +9,7 @@ buildGoPackage rec {
src = fetchFromGitLab {
owner = "shackra";
repo = "goimapnotify";
rev = "${version}";
rev = version;
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
};

View file

@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "firecat53";
repo = "networkmanager-dmenu";
rev = "${version}";
rev = version;
sha256 = "1liidqh8c33pxyb07qyj0jkd0fdak73g9r2iwiq62vfzrpik09k0";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "epam";
repo = "nfstrace";
rev = "${version}";
rev = version;
sha256 = "1djsyn7i3xp969rnmsdaf5vwjiik9wylxxrc5nm7by00i76c1vsg";
};

View file

@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "EmbarkStudios";
repo = "cargo-about";
rev = "${version}";
rev = version;
sha256 = "00ing1v6vjqfvirp3mbayn8rwvxf72wnhz9249k2iifw8bl2r2hd";
};

View file

@ -1,16 +1,16 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit }:
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gx";
version = "0.14.1";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/whyrusleeping/gx";
src = fetchgit {
inherit rev;
url = "https://github.com/whyrusleeping/gx";
src = fetchFromGitHub {
owner = "whyrusleeping";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0pfx2p59xdbmqzfbgaf8xvlnzh8m05hkg596glq5kvl8ib65i4ha";
};

View file

@ -1,18 +1,18 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit
{ stdenv, buildGoPackage, fetchFromGitHub
, gx
}:
buildGoPackage rec {
pname = "gx-go";
version = "1.9.0";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/whyrusleeping/gx-go";
src = fetchgit {
inherit rev;
url = "https://github.com/whyrusleeping/gx-go";
src = fetchFromGitHub {
owner = "whyrusleeping";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc";
};

View file

@ -1,13 +1,14 @@
{ stdenv, fetchgit, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
stdenv.mkDerivation rec {
pname = "crackxls";
version = "0.4";
src = fetchgit {
url = "https://github.com/GavinSmith0123/crackxls2003.git";
rev = "refs/tags/v${version}";
src = fetchFromGitHub {
owner = "GavinSmith0123";
repo = "crackxls2003";
rev = "v${version}";
sha256 = "0q5jl7hcds3f0rhly3iy4fhhbyh9cdrfaw7zdrazzf1wswwhyssz";
};

View file

@ -10,7 +10,7 @@ let
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "0dcl5a5jykgfmnfj42vl7kah9k26wg38l2g6yfh5pssmlf0nax33";
};

View file

@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
src = fetchCrate {
inherit version;
crateName = "${pname}";
crateName = pname;
sha256 = "0p37kwkp153mkns4bh7k7gnksk6c31214wlw3faf42daav32mmgw";
};

View file

@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "RustScan";
repo = pname;
rev = "${version}";
rev = version;
sha256 = "0dhy7b73ipsxsr7wlc3r5yy39i3cjrdszhsw9xwjj31692s3b605";
};

View file

@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "zacchiro";
repo = "ledger2beancount";
rev = "${version}";
rev = version;
sha256 = "0w88jb1x0w02jwwf6ipx3cxr89kzffrrdqws3556zrvvs01bh84j";
};