mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-12 14:14:36 +03:00
fixup! remove deb-uris test file
This commit is contained in:
parent
b9ccf21545
commit
74e91fbaee
@ -1,76 +0,0 @@
|
||||
'http://deb.debian.org/debian/pool/main/g/gcc-10/gcc-10-base_10.2.1-6_amd64.deb' gcc-10-base_10.2.1-6_amd64.deb 201332 MD5Sum:8ad775342ca4fd0adca5a516849b6498
|
||||
'http://deb.debian.org/debian/pool/main/libx/libxcrypt/libcrypt1_4.4.18-4_amd64.deb' libcrypt1_1%3a4.4.18-4_amd64.deb 87504 MD5Sum:d7fd14a5ed9019abe12024988b23bf30
|
||||
'http://deb.debian.org/debian/pool/main/g/glibc/libc6_2.31-13%2bdeb11u3_amd64.deb' libc6_2.31-13+deb11u3_amd64.deb 2810684 MD5Sum:c296cdb20af7c6b551e7ea55668cdac2
|
||||
'http://deb.debian.org/debian/pool/main/g/gcc-10/libgcc-s1_10.2.1-6_amd64.deb' libgcc-s1_10.2.1-6_amd64.deb 41400 MD5Sum:662ac9938f503745221bd777b5a94cab
|
||||
'http://deb.debian.org/debian/pool/main/b/bzip2/libbz2-1.0_1.0.8-4_amd64.deb' libbz2-1.0_1.0.8-4_amd64.deb 45808 MD5Sum:03cef43b2b631e5c050c189ec766e077
|
||||
'http://deb.debian.org/debian/pool/main/x/xz-utils/liblzma5_5.2.5-2.1%7edeb11u1_amd64.deb' liblzma5_5.2.5-2.1~deb11u1_amd64.deb 168496 MD5Sum:02062213090c2a2cf48ac35629f5d590
|
||||
'http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-8-0_10.36-2_amd64.deb' libpcre2-8-0_10.36-2_amd64.deb 246916 MD5Sum:52916c45d05a5589b0cb591880af93af
|
||||
'http://deb.debian.org/debian/pool/main/libs/libselinux/libselinux1_3.1-3_amd64.deb' libselinux1_3.1-3_amd64.deb 88124 MD5Sum:54f3790fe67396277bc85c6a91f61dbd
|
||||
'http://deb.debian.org/debian/pool/main/z/zlib/zlib1g_1.2.11.dfsg-2%2bdeb11u1_amd64.deb' zlib1g_1%3a1.2.11.dfsg-2+deb11u1_amd64.deb 91356 MD5Sum:40aa1c3d41a62f0f8fe9f7764f00a5eb
|
||||
'http://deb.debian.org/debian/pool/main/a/acl/libacl1_2.2.53-10_amd64.deb' libacl1_2.2.53-10_amd64.deb 31140 MD5Sum:088fd1b3ffe5854bb9dc8d9e8d898d65
|
||||
'http://deb.debian.org/debian/pool/main/t/tar/tar_1.34%2bdfsg-1_amd64.deb' tar_1.34+dfsg-1_amd64.deb 846756 MD5Sum:483cd0fa2cc7139193af5fdfb9e1d7c1
|
||||
'http://deb.debian.org/debian/pool/main/d/dpkg/dpkg_1.20.11_amd64.deb' dpkg_1.20.11_amd64.deb 2530192 MD5Sum:cf2be6ebb8ff60f4e1e4aaa8e78fb3d4
|
||||
'http://deb.debian.org/debian/pool/main/p/perl/perl-base_5.32.1-4%2bdeb11u2_amd64.deb' perl-base_5.32.1-4+deb11u2_amd64.deb 1627736 MD5Sum:f2cef703e1669cc49317ef3df2df172e
|
||||
'http://deb.debian.org/debian/pool/main/a/audit/libaudit-common_3.0-2_all.deb' libaudit-common_1%3a3.0-2_all.deb 14832 MD5Sum:8eff8cbc99166c1f6ce3b0764807f07d
|
||||
'http://deb.debian.org/debian/pool/main/libc/libcap-ng/libcap-ng0_0.7.9-2.2%2bb1_amd64.deb' libcap-ng0_0.7.9-2.2+b1_amd64.deb 14764 MD5Sum:339c106870c49784bceb6f2bbe206454
|
||||
'http://deb.debian.org/debian/pool/main/a/audit/libaudit1_3.0-2_amd64.deb' libaudit1_1%3a3.0-2_amd64.deb 50380 MD5Sum:02c1038999e1c692ef83a57a2ae5614b
|
||||
'http://deb.debian.org/debian/pool/main/d/debconf/debconf_1.5.77_all.deb' debconf_1.5.77_all.deb 144080 MD5Sum:ba9e11acb3a7bcd4fa7b2e094a156060
|
||||
'http://deb.debian.org/debian/pool/main/p/pam/libpam0g_1.4.0-9%2bdeb11u1_amd64.deb' libpam0g_1.4.0-9+deb11u1_amd64.deb 129492 MD5Sum:b7057de6856c8bfe03abc33571989a98
|
||||
'http://deb.debian.org/debian/pool/main/libs/libsemanage/libsemanage-common_3.1-1_all.deb' libsemanage-common_3.1-1_all.deb 21308 MD5Sum:b6006d54ced57e66e612f6329bc87942
|
||||
'http://deb.debian.org/debian/pool/main/libs/libsepol/libsepol1_3.1-1_amd64.deb' libsepol1_3.1-1_amd64.deb 264624 MD5Sum:bef96313bfe870ac95ddade00c057984
|
||||
'http://deb.debian.org/debian/pool/main/libs/libsemanage/libsemanage1_3.1-1%2bb2_amd64.deb' libsemanage1_3.1-1+b2_amd64.deb 99332 MD5Sum:0f58f0fc5ce04fa7af22888780f8ca9a
|
||||
'http://deb.debian.org/debian/pool/main/d/db5.3/libdb5.3_5.3.28%2bdfsg1-0.8_amd64.deb' libdb5.3_5.3.28+dfsg1-0.8_amd64.deb 686508 MD5Sum:f9d6211312a256ea785424b881d145f5
|
||||
'http://deb.debian.org/debian/pool/main/e/e2fsprogs/libcom-err2_1.46.2-2_amd64.deb' libcom-err2_1.46.2-2_amd64.deb 74208 MD5Sum:99831a5e480718a841e22ebaf98b229a
|
||||
'http://deb.debian.org/debian/pool/main/k/krb5/libkrb5support0_1.18.3-6%2bdeb11u1_amd64.deb' libkrb5support0_1.18.3-6+deb11u1_amd64.deb 65372 MD5Sum:430f6a309176a3a96470d98ae1f2d5b5
|
||||
'http://deb.debian.org/debian/pool/main/k/krb5/libk5crypto3_1.18.3-6%2bdeb11u1_amd64.deb' libk5crypto3_1.18.3-6+deb11u1_amd64.deb 113840 MD5Sum:b6a19e2849cff3b445581a871507eaa2
|
||||
'http://deb.debian.org/debian/pool/main/k/keyutils/libkeyutils1_1.6.1-2_amd64.deb' libkeyutils1_1.6.1-2_amd64.deb 15444 MD5Sum:bb188eb33c83eb9e7563089313ea1321
|
||||
'http://deb.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1n-0%2bdeb11u3_amd64.deb' libssl1.1_1.1.1n-0+deb11u3_amd64.deb 1559336 MD5Sum:bf601f86a469d0de7af5408a8f03217e
|
||||
'http://deb.debian.org/debian/pool/main/k/krb5/libkrb5-3_1.18.3-6%2bdeb11u1_amd64.deb' libkrb5-3_1.18.3-6+deb11u1_amd64.deb 362596 MD5Sum:5a5d1266dbf1dcb4b13ce77608335343
|
||||
'http://deb.debian.org/debian/pool/main/k/krb5/libgssapi-krb5-2_1.18.3-6%2bdeb11u1_amd64.deb' libgssapi-krb5-2_1.18.3-6+deb11u1_amd64.deb 164892 MD5Sum:ab0775f895d129360bccba58ab70fed6
|
||||
'http://deb.debian.org/debian/pool/main/libt/libtirpc/libtirpc-common_1.3.1-1_all.deb' libtirpc-common_1.3.1-1_all.deb 13360 MD5Sum:1410b8ee531a800f5c0bf6a72224c4a2
|
||||
'http://deb.debian.org/debian/pool/main/libt/libtirpc/libtirpc3_1.3.1-1_amd64.deb' libtirpc3_1.3.1-1_amd64.deb 83620 MD5Sum:44975a356d8337856de741d1dc373d33
|
||||
'http://deb.debian.org/debian/pool/main/libn/libnsl/libnsl2_1.3.0-2_amd64.deb' libnsl2_1.3.0-2_amd64.deb 39480 MD5Sum:35f670dd707691bfa65ec9ecec32d8a0
|
||||
'http://deb.debian.org/debian/pool/main/p/pam/libpam-modules-bin_1.4.0-9%2bdeb11u1_amd64.deb' libpam-modules-bin_1.4.0-9+deb11u1_amd64.deb 108096 MD5Sum:79b3b2b56f6a63f0be4e5849ec09feb0
|
||||
'http://deb.debian.org/debian/pool/main/p/pam/libpam-modules_1.4.0-9%2bdeb11u1_amd64.deb' libpam-modules_1.4.0-9+deb11u1_amd64.deb 325816 MD5Sum:e8d03f75064f0a16a1b91d8a40b58101
|
||||
'http://deb.debian.org/debian/pool/main/s/shadow/passwd_4.8.1-1_amd64.deb' passwd_1%3a4.8.1-1_amd64.deb 990140 MD5Sum:a1bb0014c80d4b88dd6ca97448ef1b99
|
||||
'http://deb.debian.org/debian/pool/main/a/adduser/adduser_3.118_all.deb' adduser_3.118_all.deb 240384 MD5Sum:e66783314651639d4f5c043c92334319
|
||||
'http://deb.debian.org/debian/pool/main/libg/libgpg-error/libgpg-error0_1.38-2_amd64.deb' libgpg-error0_1.38-2_amd64.deb 77536 MD5Sum:1172405e042e5ceeb95d3ce14796963f
|
||||
'http://deb.debian.org/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.8.7-6_amd64.deb' libgcrypt20_1.8.7-6_amd64.deb 563136 MD5Sum:1d331cdb7b2cbf6a5738f4d3c0d38ac6
|
||||
'http://deb.debian.org/debian/pool/main/g/gnupg2/gpgv_2.2.27-2%2bdeb11u2_amd64.deb' gpgv_2.2.27-2+deb11u2_amd64.deb 625824 MD5Sum:54d6bfca6d24510795a371f4d842ecb1
|
||||
'http://deb.debian.org/debian/pool/main/l/lz4/liblz4-1_1.9.3-2_amd64.deb' liblz4-1_1.9.3-2_amd64.deb 57492 MD5Sum:c695759e3fece30d28dd69e8c9064cd3
|
||||
'http://deb.debian.org/debian/pool/main/g/gcc-10/libstdc%2b%2b6_10.2.1-6_amd64.deb' libstdc++6_10.2.1-6_amd64.deb 492540 MD5Sum:7ed6e871b921f147bbf9e4ceb5905d09
|
||||
'http://deb.debian.org/debian/pool/main/libz/libzstd/libzstd1_1.4.8%2bdfsg-2.1_amd64.deb' libzstd1_1.4.8+dfsg-2.1_amd64.deb 318644 MD5Sum:abc4238706c10db45ceeddf52718860e
|
||||
'http://deb.debian.org/debian/pool/main/s/systemd/libsystemd0_247.3-7_amd64.deb' libsystemd0_247.3-7_amd64.deb 376228 MD5Sum:58372ce6973ebc3b3321e311b8bd64f3
|
||||
'http://deb.debian.org/debian/pool/main/s/systemd/libudev1_247.3-7_amd64.deb' libudev1_247.3-7_amd64.deb 168112 MD5Sum:7e7cacbfe116984555424ab8478fc756
|
||||
'http://deb.debian.org/debian/pool/main/x/xxhash/libxxhash0_0.8.0-2_amd64.deb' libxxhash0_0.8.0-2_amd64.deb 26852 MD5Sum:fefb9ef5f25d7910665c5e00908284aa
|
||||
'http://deb.debian.org/debian/pool/main/a/apt/libapt-pkg6.0_2.2.4_amd64.deb' libapt-pkg6.0_2.2.4_amd64.deb 1012792 MD5Sum:b54364a07d3dd3fb4c59795dbe559169
|
||||
'http://deb.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2021.1.1_all.deb' debian-archive-keyring_2021.1.1_all.deb 93592 MD5Sum:250bbeab4b680dbc2c4da9b10ccd773f
|
||||
'http://deb.debian.org/debian/pool/main/g/gmp/libgmp10_6.2.1%2bdfsg-1%2bdeb11u1_amd64.deb' libgmp10_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb 563308 MD5Sum:a99eed88019739c02852ad7951b686f4
|
||||
'http://deb.debian.org/debian/pool/main/n/nettle/libnettle8_3.7.3-1_amd64.deb' libnettle8_3.7.3-1_amd64.deb 270376 MD5Sum:4d95b4565dde6d7921b765729a92da26
|
||||
'http://deb.debian.org/debian/pool/main/n/nettle/libhogweed6_3.7.3-1_amd64.deb' libhogweed6_3.7.3-1_amd64.deb 320468 MD5Sum:35f805ed93d2509f75144942f17bd1ba
|
||||
'http://deb.debian.org/debian/pool/main/libu/libunistring/libunistring2_0.9.10-4_amd64.deb' libunistring2_0.9.10-4_amd64.deb 379316 MD5Sum:424c2639ea2e81227d8b163b4a5e2e54
|
||||
'http://deb.debian.org/debian/pool/main/libi/libidn2/libidn2-0_2.3.0-5_amd64.deb' libidn2-0_2.3.0-5_amd64.deb 86108 MD5Sum:8c836e7656163e2e5ae2f3575fbdd855
|
||||
'http://deb.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_amd64.deb' libffi7_3.3-6_amd64.deb 23096 MD5Sum:3b08290f9933a3f21536a15e0ee6dedd
|
||||
'http://deb.debian.org/debian/pool/main/p/p11-kit/libp11-kit0_0.23.22-1_amd64.deb' libp11-kit0_0.23.22-1_amd64.deb 336536 MD5Sum:afa64af0602ed59ea1627da8d296ddb0
|
||||
'http://deb.debian.org/debian/pool/main/libt/libtasn1-6/libtasn1-6_4.16.0-2_amd64.deb' libtasn1-6_4.16.0-2_amd64.deb 55008 MD5Sum:8dea0b56b4d31a3d15f2b56435e59f73
|
||||
'http://deb.debian.org/debian/pool/main/g/gnutls28/libgnutls30_3.7.1-5%2bdeb11u1_amd64.deb' libgnutls30_3.7.1-5+deb11u1_amd64.deb 1340064 MD5Sum:508500e6fde39e123317efecceb7eb97
|
||||
'http://deb.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1%2bdeb11u1_amd64.deb' libseccomp2_2.5.1-1+deb11u1_amd64.deb 48512 MD5Sum:905c0689cbc5dd14d62c19cb22ac7ba3
|
||||
'http://deb.debian.org/debian/pool/main/a/apt/apt_2.2.4_amd64.deb' apt_2.2.4_amd64.deb 1491328 MD5Sum:24d53e8dd75095640a167f40476c0442
|
||||
'http://deb.debian.org/debian/pool/main/libl/liblocale-gettext-perl/liblocale-gettext-perl_1.07-4%2bb1_amd64.deb' liblocale-gettext-perl_1.07-4+b1_amd64.deb 19048 MD5Sum:9b7eed93ea18cbf826f5bdfccbf0d05c
|
||||
'http://deb.debian.org/debian/pool/main/a/apt/apt-utils_2.2.4_amd64.deb' apt-utils_2.2.4_amd64.deb 439128 MD5Sum:5126caae518867b86d8afb6c9bf69897
|
||||
'http://deb.debian.org/debian/pool/main/libt/libtext-iconv-perl/libtext-iconv-perl_1.7-7%2bb1_amd64.deb' libtext-iconv-perl_1.7-7+b1_amd64.deb 16092 MD5Sum:4fed94c3aee76caae0a236369dbdaf01
|
||||
'http://deb.debian.org/debian/pool/main/libt/libtext-charwidth-perl/libtext-charwidth-perl_0.04-10%2bb1_amd64.deb' libtext-charwidth-perl_0.04-10+b1_amd64.deb 10648 MD5Sum:5f31a04f45b3283ff788ddf7933d444b
|
||||
'http://deb.debian.org/debian/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-9_all.deb' libtext-wrapi18n-perl_0.06-9_all.deb 8700 MD5Sum:a2c4f0ecd479e048444c6a3b85ed41d3
|
||||
'http://deb.debian.org/debian/pool/main/d/debconf/debconf-i18n_1.5.77_all.deb' debconf-i18n_1.5.77_all.deb 205868 MD5Sum:8388aba629763575d36e5b306fdb8179
|
||||
'http://deb.debian.org/debian/pool/main/o/openssl/openssl_1.1.1n-0%2bdeb11u3_amd64.deb' openssl_1.1.1n-0+deb11u3_amd64.deb 852984 MD5Sum:57281327681f58032642d83a900f3cdc
|
||||
'http://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20210119_all.deb' ca-certificates_20210119_all.deb 158288 MD5Sum:d6e49d96653ee62bb40fab646be12e03
|
||||
'http://deb.debian.org/debian/pool/main/k/krb5/krb5-locales_1.18.3-6%2bdeb11u1_all.deb' krb5-locales_1.18.3-6+deb11u1_all.deb 95316 MD5Sum:e3267826a118ca27069c16d453485289
|
||||
'http://deb.debian.org/debian/pool/main/n/ncurses/libtinfo6_6.2%2b20201114-2_amd64.deb' libtinfo6_6.2+20201114-2_amd64.deb 340764 MD5Sum:c67ed061d1f33d410a1f37f8013a2675
|
||||
'http://deb.debian.org/debian/pool/main/n/ncurses/libncursesw6_6.2%2b20201114-2_amd64.deb' libncursesw6_6.2+20201114-2_amd64.deb 132460 MD5Sum:64f7be5348fedb1152e1cc8dd99a4b6a
|
||||
'http://deb.debian.org/debian/pool/main/libn/libnl3/libnl-3-200_3.4.0-1%2bb1_amd64.deb' libnl-3-200_3.4.0-1+b1_amd64.deb 63604 MD5Sum:6c928224617d2a61c85e8aa8ad3a7b29
|
||||
'http://deb.debian.org/debian/pool/main/libn/libnl3/libnl-genl-3-200_3.4.0-1%2bb1_amd64.deb' libnl-genl-3-200_3.4.0-1+b1_amd64.deb 21168 MD5Sum:61a54504497593ac7978ed2c188e7d77
|
||||
'http://deb.debian.org/debian/pool/main/h/htop/htop_3.0.5-7_amd64.deb' htop_3.0.5-7_amd64.deb 126596 MD5Sum:b2c42514caddf5896284e5598bbad8bc
|
||||
'http://deb.debian.org/debian/pool/main/libg/libgpg-error/libgpg-error-l10n_1.38-2_all.deb' libgpg-error-l10n_1.38-2_all.deb 103892 MD5Sum:943a6c43d3097107be6fff410fdbcbb3
|
||||
'http://deb.debian.org/debian/pool/main/g/gpm/libgpm2_1.20.7-8_amd64.deb' libgpm2_1.20.7-8_amd64.deb 35596 MD5Sum:eeee2f3208e3a1649e9c200007d502c7
|
||||
'http://deb.debian.org/debian/pool/main/libn/libnss-nis/libnss-nis_3.1-4_amd64.deb' libnss-nis_3.1-4_amd64.deb 25648 MD5Sum:887062175bc7fdad8107a722d8ce807a
|
||||
'http://deb.debian.org/debian/pool/main/libn/libnss-nisplus/libnss-nisplus_1.3-4_amd64.deb' libnss-nisplus_1.3-4_amd64.deb 21596 MD5Sum:c5a4a7fe7cbe946adb257bb7b0bdebbf
|
@ -29,15 +29,12 @@ def main():
|
||||
if len(split_lines) == 4:
|
||||
(uri, deb, _, _) = split_lines
|
||||
with open(f"./download/archives/{deb}", "rb") as f:
|
||||
# print(f"decode {deb}")
|
||||
bin = f.read()
|
||||
hash = hashlib.sha256(bin)
|
||||
digest = hash.digest()
|
||||
base = base64.b64encode(digest)
|
||||
print(base)
|
||||
decode = base.decode()
|
||||
print(decode)
|
||||
sha256 = f"sha256-{base64.b64encode(hashlib.sha256(f.read()).digest()).decode()}"
|
||||
sha256 = f"sha256-{decode}"
|
||||
print(f"uri {uri}, deb: {deb}")
|
||||
(name, version, _) = deb.split("_")
|
||||
dream_lock["sources"][name] = {
|
||||
|
Loading…
Reference in New Issue
Block a user